#FCF2D4#FCF2D4

#FCF2D4 is a very light, muted yellow. Relative luminance 0.890; OKLCH L 96.1% C 0.041 H 91.7°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#FCF2D4
RGBrgb(252, 242, 212)
HSLhsl(45, 87%, 91%)
HSVhsv(45, 16%, 99%)
CMYKcmyk(0%, 4%, 15.9%, 1.2%)
CIE-LABlab(95.56, -1.46, 15.69)
CIE-LCHlch(95.56, 15.76, 95.32°)
OKLaboklab(96.13% -0.0012 0.0406)
OKLCHoklch(96.13% 0.041 91.7)
XYZxyz(83.7799, 88.9544, 75.0310)
Luminance0.8895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF2D4 #D4DEFC
analogous
#FCDED4 #FCF2D4 #F2FCD4
triadic
#FCF2D4 #D4FCF2 #F2D4FC
tetradic
#FCF2D4 #D4FCDE #D4DEFC #FCD4F2
square
#FCF2D4 #D4FCDE #D4DEFC #FCD4F2
split-complementary
#FCF2D4 #D4F2FC #DED4FC
monochromatic
#F4CF62 #F8E19B #FCF2D4 #FDF6E2 #FDF6E2

Accessibility & contrast

On white

1.12
#FCF2D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.79
#FCF2D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF2D4
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF2D4#FFFFFF#000000##000000
##FCF2D41.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9F0D2
Deuteranopia (green-blind)
#FCF4D5
Tritanopia (blue-blind)
#FFEDE9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf2d4;
/* rgb */ color: rgb(252, 242, 212);
/* oklch */ color: oklch(96.1% 0.041 91.7);
Tailwind
colors: {
  custom: {
    50: '#fdf6e1',
    500: '#fcf2d4',
    950: '#000000',
  },
}
SCSS
$custom: #fcf2d4;
$custom-light: #fdf6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf2d4",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 212
  },
  "hsl": {
    "h": 45,
    "s": 86.957,
    "l": 90.98
  },
  "oklch": {
    "l": 0.96125,
    "c": 0.04064,
    "h": 91.7
  },
  "luminance": 0.88953
}

Semantic roles & 50–950 ramp

primary
#FCF2D4
secondary
#90A5E4
accent
#3AE402
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #FCF2D4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FCF2D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva