#FCF8EB#FCF8EB

#FCF8EB is a very light, near-neutral yellow. Relative luminance 0.938; OKLCH L 97.9% C 0.018 H 92.7°. Best body text is #000000 at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#FCF8EB
RGBrgb(252, 248, 235)
HSLhsl(46, 74%, 95%)
HSVhsv(46, 7%, 99%)
CMYKcmyk(0%, 1.6%, 6.7%, 1.2%)
CIE-LABlab(97.56, -0.87, 6.71)
CIE-LCHlch(97.56, 6.76, 97.41°)
OKLaboklab(97.87% -0.0008 0.0176)
OKLCHoklch(97.87% 0.018 92.7)
XYZxyz(88.7057, 93.8289, 92.0188)
Luminance0.9383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8EB #EBEFFC
analogous
#FCEFEB #FCF8EB #F7FCEB
triadic
#FCF8EB #EBFCF8 #F8EBFC
tetradic
#FCF8EB #EBFCEF #EBEFFC #FCEBF7
square
#FCF8EB #EBFCEF #EBEFFC #FCEBF7
split-complementary
#FCF8EB #EBF7FC #EFEBFC
monochromatic
#ECD381 #F4E5B6 #FBF6E4 #FBF6E4 #FBF6E4

Accessibility & contrast

On white

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

On black

19.77
#FCF8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF8EB
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF8EB#FFFFFF#000000##000000
##FCF8EB1.001.0619.7719.77
#FFFFFF1.061.0021.0021.00
#00000019.7721.001.001.00
##00000019.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf8eb;
/* rgb */ color: rgb(252, 248, 235);
/* oklch */ color: oklch(97.9% 0.018 92.7);
Tailwind
colors: {
  custom: {
    50: '#fdfaf1',
    500: '#fcf8eb',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8eb;
$custom-light: #fdfaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8eb",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 235
  },
  "hsl": {
    "h": 45.882,
    "s": 73.913,
    "l": 95.49
  },
  "oklch": {
    "l": 0.9787,
    "c": 0.01764,
    "h": 92.7
  },
  "luminance": 0.93828
}

Semantic roles & 50–950 ramp

primary
#FCF8EB
secondary
#A8B6E3
accent
#3ED60F
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FCF8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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