#FCF8EC#FCF8EC

#FCF8EC is a very light, near-neutral yellow. Relative luminance 0.939; OKLCH L 97.9% C 0.016 H 91.5°. Best body text is #000000 at 19.78:1 contrast (WCAG AA passes).

Color values

HEX#FCF8EC
RGBrgb(252, 248, 236)
HSLhsl(45, 73%, 96%)
HSVhsv(45, 6%, 99%)
CMYKcmyk(0%, 1.6%, 6.3%, 1.2%)
CIE-LABlab(97.59, -0.71, 6.23)
CIE-LCHlch(97.59, 6.27, 96.48°)
OKLaboklab(97.9% -0.0004 0.0164)
OKLCHoklch(97.9% 0.016 91.5)
XYZxyz(88.8506, 93.8869, 92.7818)
Luminance0.9389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8EC #ECF0FC
analogous
#FCF0EC #FCF8EC #F8FCEC
triadic
#FCF8EC #ECFCF8 #F8ECFC
tetradic
#FCF8EC #ECFCF0 #ECF0FC #FCECF8
square
#FCF8EC #ECFCF0 #ECF0FC #FCECF8
split-complementary
#FCF8EC #ECF8FC #F0ECFC
monochromatic
#EBD182 #F4E5B7 #FBF5E5 #FBF5E5 #FBF5E5

Accessibility & contrast

On white

1.06
#FCF8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.78
#FCF8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF8EC
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF8EC#FFFFFF#000000##000000
##FCF8EC1.001.0619.7819.78
#FFFFFF1.061.0021.0021.00
#00000019.7821.001.001.00
##00000019.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF7EB
Deuteranopia (green-blind)
#FCF9EC
Tritanopia (blue-blind)
#FFF6F4
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fcf8ec;
/* rgb */ color: rgb(252, 248, 236);
/* oklch */ color: oklch(97.9% 0.016 91.5);
Tailwind
colors: {
  custom: {
    50: '#fdfaf2',
    500: '#fcf8ec',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8ec;
$custom-light: #fdfaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8ec",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 236
  },
  "hsl": {
    "h": 45,
    "s": 72.727,
    "l": 95.686
  },
  "oklch": {
    "l": 0.97896,
    "c": 0.01638,
    "h": 91.5
  },
  "luminance": 0.93886
}

Semantic roles & 50–950 ramp

primary
#FCF8EC
secondary
#A9B8E3
accent
#42D511
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FCF8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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