#FCF8DE#FCF8DE

#FCF8DE is a very light, muted yellow. Relative luminance 0.931; OKLCH L 97.5% C 0.034 H 99.8°. Best body text is #000000 at 19.62:1 contrast (WCAG AA passes).

Color values

HEX#FCF8DE
RGBrgb(252, 248, 222)
HSLhsl(52, 83%, 93%)
HSVhsv(52, 12%, 99%)
CMYKcmyk(0%, 1.6%, 11.9%, 1.2%)
CIE-LABlab(97.27, -2.96, 12.97)
CIE-LCHlch(97.27, 13.30, 102.84°)
OKLaboklab(97.54% -0.0058 0.0337)
OKLCHoklch(97.54% 0.034 99.8)
XYZxyz(86.8958, 93.1050, 82.4864)
Luminance0.9310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8DE #DEE2FC
analogous
#FCE9DE #FCF8DE #F1FCDE
triadic
#FCF8DE #DEFCF8 #F8DEFC
tetradic
#FCF8DE #DEFCE9 #DEE2FC #FCDEF1
square
#FCF8DE #DEFCE9 #DEE2FC #FCDEF1
split-complementary
#FCF8DE #DEF1FC #E9DEFC
monochromatic
#F2E06E #F7ECA6 #FCF8DE #FCF9E3 #FCF9E3

Accessibility & contrast

On white

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

On black

19.62
#FCF8DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF8DE
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF8DE#FFFFFF#000000##000000
##FCF8DE1.001.0719.6219.62
#FFFFFF1.071.0021.0021.00
#00000019.6221.001.001.00
##00000019.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf8de;
/* rgb */ color: rgb(252, 248, 222);
/* oklch */ color: oklch(97.5% 0.034 99.8);
Tailwind
colors: {
  custom: {
    50: '#fdfae8',
    500: '#fcf8de',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8de;
$custom-light: #fdfae8;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8de",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 222
  },
  "hsl": {
    "h": 52,
    "s": 83.333,
    "l": 92.941
  },
  "oklch": {
    "l": 0.97542,
    "c": 0.03422,
    "h": 99.8
  },
  "luminance": 0.93104
}

Semantic roles & 50–950 ramp

primary
#FCF8DE
secondary
#9AA4E4
accent
#23E006
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FCF8DE

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

Preview Lab → · Contrast checker → · Palette generator →

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