#FCF8DC#FCF8DC

#FCF8DC is a very light, muted yellow. Relative luminance 0.930; OKLCH L 97.5% C 0.037 H 100.4°. Best body text is #000000 at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#FCF8DC
RGBrgb(252, 248, 220)
HSLhsl(53, 84%, 93%)
HSVhsv(53, 13%, 99%)
CMYKcmyk(0%, 1.6%, 12.7%, 1.2%)
CIE-LABlab(97.23, -3.27, 13.94)
CIE-LCHlch(97.23, 14.31, 103.19°)
OKLaboklab(97.49% -0.0066 0.0362)
OKLCHoklch(97.49% 0.037 100.4)
XYZxyz(86.6293, 92.9984, 81.0831)
Luminance0.9300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8DC #DCE0FC
analogous
#FCE8DC #FCF8DC #F0FCDC
triadic
#FCF8DC #DCFCF8 #F8DCFC
tetradic
#FCF8DC #DCFCE8 #DCE0FC #FCDCF0
square
#FCF8DC #DCFCE8 #DCE0FC #FCDCF0
split-complementary
#FCF8DC #DCF0FC #E8DCFC
monochromatic
#F2E16B #F7EDA4 #FCF8DC #FDF9E3 #FDF9E3

Accessibility & contrast

On white

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

On black

19.60
#FCF8DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF8DC
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF8DC#FFFFFF#000000##000000
##FCF8DC1.001.0719.6019.60
#FFFFFF1.071.0021.0021.00
#00000019.6021.001.001.00
##00000019.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF6DA
Deuteranopia (green-blind)
#FFF8DD
Tritanopia (blue-blind)
#FFF4F0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fcf8dc;
/* rgb */ color: rgb(252, 248, 220);
/* oklch */ color: oklch(97.5% 0.037 100.4);
Tailwind
colors: {
  custom: {
    50: '#fdfae6',
    500: '#fcf8dc',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8dc;
$custom-light: #fdfae6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8dc",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 220
  },
  "hsl": {
    "h": 52.5,
    "s": 84.211,
    "l": 92.549
  },
  "oklch": {
    "l": 0.97494,
    "c": 0.03678,
    "h": 100.4
  },
  "luminance": 0.92998
}

Semantic roles & 50–950 ramp

primary
#FCF8DC
secondary
#98A1E4
accent
#20E105
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FCF8DC

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

Preview Lab → · Contrast checker → · Palette generator →

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