#FCF8DF#FCF8DF

#FCF8DF is a very light, muted yellow. Relative luminance 0.932; OKLCH L 97.6% C 0.033 H 99.5°. Best body text is #000000 at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#FCF8DF
RGBrgb(252, 248, 223)
HSLhsl(52, 83%, 93%)
HSVhsv(52, 12%, 99%)
CMYKcmyk(0%, 1.6%, 11.5%, 1.2%)
CIE-LABlab(97.29, -2.80, 12.49)
CIE-LCHlch(97.29, 12.80, 102.64°)
OKLaboklab(97.57% -0.0054 0.0325)
OKLCHoklch(97.57% 0.033 99.5)
XYZxyz(87.0302, 93.1587, 83.1944)
Luminance0.9316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8DF #DFE3FC
analogous
#FCE9DF #FCF8DF #F1FCDF
triadic
#FCF8DF #DFFCF8 #F8DFFC
tetradic
#FCF8DF #DFFCE9 #DFE3FC #FCDFF1
square
#FCF8DF #DFFCE9 #DFE3FC #FCDFF1
split-complementary
#FCF8DF #DFF1FC #E9DFFC
monochromatic
#F2E06F #F7ECA7 #FCF8DF #FCF9E3 #FCF9E3

Accessibility & contrast

On white

1.07
#FCF8DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.63
#FCF8DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF8DF
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF8DF#FFFFFF#000000##000000
##FCF8DF1.001.0719.6319.63
#FFFFFF1.071.0021.0021.00
#00000019.6321.001.001.00
##00000019.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF6DE
Deuteranopia (green-blind)
#FFF8E0
Tritanopia (blue-blind)
#FFF4F1
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fcf8df;
/* rgb */ color: rgb(252, 248, 223);
/* oklch */ color: oklch(97.6% 0.033 99.5);
Tailwind
colors: {
  custom: {
    50: '#fdfae9',
    500: '#fcf8df',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8df;
$custom-light: #fdfae9;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8df",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 223
  },
  "hsl": {
    "h": 51.724,
    "s": 82.857,
    "l": 93.137
  },
  "oklch": {
    "l": 0.97567,
    "c": 0.03295,
    "h": 99.5
  },
  "luminance": 0.93158
}

Semantic roles & 50–950 ramp

primary
#FCF8DF
secondary
#9BA5E4
accent
#24DF06
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FCF8DF

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

Preview Lab → · Contrast checker → · Palette generator →

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