#FCF8EA#FCF8EA

#FCF8EA is a very light, near-neutral yellow. Relative luminance 0.938; OKLCH L 97.8% C 0.019 H 93.7°. Best body text is #000000 at 19.75:1 contrast (WCAG AA passes).

Color values

HEX#FCF8EA
RGBrgb(252, 248, 234)
HSLhsl(47, 75%, 95%)
HSVhsv(47, 7%, 99%)
CMYKcmyk(0%, 1.6%, 7.1%, 1.2%)
CIE-LABlab(97.54, -1.04, 7.19)
CIE-LCHlch(97.54, 7.26, 98.20°)
OKLaboklab(97.84% -0.0012 0.0189)
OKLCHoklch(97.84% 0.019 93.7)
XYZxyz(88.5617, 93.7713, 91.2601)
Luminance0.9377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8EA #EAEEFC
analogous
#FCEFEA #FCF8EA #F7FCEA
triadic
#FCF8EA #EAFCF8 #F8EAFC
tetradic
#FCF8EA #EAFCEF #EAEEFC #FCEAF7
square
#FCF8EA #EAFCEF #EAEEFC #FCEAF7
split-complementary
#FCF8EA #EAF7FC #EFEAFC
monochromatic
#EDD47F #F4E6B4 #FBF6E4 #FBF6E4 #FBF6E4

Accessibility & contrast

On white

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

On black

19.75
#FCF8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF8EA
19.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF8EA#FFFFFF#000000##000000
##FCF8EA1.001.0619.7519.75
#FFFFFF1.061.0021.0021.00
#00000019.7521.001.001.00
##00000019.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf8ea;
/* rgb */ color: rgb(252, 248, 234);
/* oklch */ color: oklch(97.8% 0.019 93.7);
Tailwind
colors: {
  custom: {
    50: '#fdfaf0',
    500: '#fcf8ea',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8ea;
$custom-light: #fdfaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8ea",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 234
  },
  "hsl": {
    "h": 46.667,
    "s": 75,
    "l": 95.294
  },
  "oklch": {
    "l": 0.97844,
    "c": 0.01891,
    "h": 93.7
  },
  "luminance": 0.93771
}

Semantic roles & 50–950 ramp

primary
#FCF8EA
secondary
#A7B4E3
accent
#3BD70E
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FCF8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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