What is hex #FFF2DF color?

 
The hex code #FFF2DF is closest to the named color Cornsilk (#FFF8DC).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 100% red, 95% green and 87% blue, resulting in rgb(255, 242, 223) and hsl(36, 100%, 94%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 5%, 13%, 0%).
In the HSV/HSB scale, #FFF2DF features a hue of 36°, 13% saturation, and 100% brightness.

Hex #FFF2DF Color Codes & Conversions

Closest Named Color
Cornsilk (#FFF8DC)
Hex Code #FFF2DF
Hex8 (RGBA Hex) #FFF2DFFF
RGB (CSS) rgb(255, 242, 223)
RGBA (CSS) rgba(255, 242, 223, 1)
HSL (CSS) hsl(36, 100%, 94%)
HSLA (CSS) hsla(36, 100%, 94%, 1)
HSV / HSB (36°, 13%, 100%)
CMYK Values (0%, 5%, 13%, 0%)
OKLCH (Modern CSS) oklch(96.6% 0.029 77.6)
CIE-LAB (D65) 96.04, 1.27, 10.73
CIE XYZ 86.31, 90.09, 82.64
Decimal / Binary 16773855
11111111 11110010 11011111

Closest Standards & Equivalents

Closest Web Safe
#FFFFCC
Inverse Color
#000D20
Complementary Color
#DFECFF
Closest Pantone®
Pantone 705 C
Closest RAL
RAL 9012 [Clean room white]

#FFF2DF Grayscale Equivalents

Average
#F0F0F0
Lightness (Desaturation)
#EFEFEF
Weighted (BT601)
#F4F4F4
Luma (BT709)
#F3F3F3

WCAG 2.1 Color Contrast & Accessibility

Check how #FFF2DF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #FFF2DF

Sample preview of readable typography on top of #FFF2DF.

Contrast Ratio: 1.1:1
AA Fail AAA Fail

Black Text on #FFF2DF

Sample preview of readable typography on top of #FFF2DF.

Contrast Ratio: 19.02:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFF2DF

Preview #FFF2DF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #FFF2DF;
Typography Color Preview
color: #FFF2DF;
Border & Shadow Preview
border: 2px solid #FFF2DF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FFF2DF;
  --color-primary-rgb: 255, 242, 223;
  --color-complementary: #DFECFF;
}
.btn-accent {
  background-color: #FFF2DF;
  color: #000000;
}

Hex #FFF2DF Color Palettes

Complementary Palette

The complementary color of #FFF2DF is #DFECFF. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #FFF2DF pairs with #FFE2DF and #FCFFDF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFF2DF pairs with #E2DFFF and #DFFCFF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFF2DF uses #F2DFFF and #DFFFF2, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFF2DF combines #DFFFF2, #DFECFF and #FFDFEC around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFF2DF pairs with #DFFFE2, #DFECFF and #FFDFFC spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFF2DF

Tints

Tints are created by mixing #FFF2DF with white, producing lighter variations.

Tones

Tones are created by mixing #FFF2DF with gray, softening saturation.

Shades

Shades result from mixing #FFF2DF with black, creating deeper variations.

Hex #FFF2DF in Programming & CSS Frameworks

Copy the exact syntax for #FFF2DF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #FFF2DF
Tailwind CSS bg-[#FFF2DF] text-[#FFF2DF]
Java (AWT) new Color(255,242,223);
Python Color("#FFF2DF")
.NET (C#) Color.FromArgb(255, 255,242,223);
Swift / iOS UIColor(red: 1, green: 0.95, blue: 0.87, alpha: 1)
Kotlin / Android Color.rgb(255, 242, 223)