#FCF8BD#FCF8BD

#FCF8BD is a very light, moderate yellow. Relative luminance 0.915; OKLCH L 96.8% C 0.075 H 104.5°. Best body text is #000000 at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#FCF8BD
RGBrgb(252, 248, 189)
HSLhsl(56, 91%, 86%)
HSVhsv(56, 25%, 99%)
CMYKcmyk(0%, 1.6%, 25%, 1.2%)
CIE-LABlab(96.62, -7.70, 28.91)
CIE-LCHlch(96.62, 29.92, 104.92°)
OKLaboklab(96.81% -0.0189 0.0731)
OKLCHoklch(96.81% 0.075 104.5)
XYZxyz(82.8977, 91.5057, 61.4296)
Luminance0.9150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8BD #BDC1FC
analogous
#FCD9BD #FCF8BD #E1FCBD
triadic
#FCF8BD #BDFCF8 #F8BDFC
tetradic
#FCF8BD #BDFCD9 #BDC1FC #FCBDE1
square
#FCF8BD #BDFCD9 #BDC1FC #FCBDE1
split-complementary
#FCF8BD #BDE1FC #D9BDFC
monochromatic
#F7EC48 #F9F282 #FCF8BD #FEFCE2 #FEFCE2

Accessibility & contrast

On white

1.09
#FCF8BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.30
#FCF8BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF8BD
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF8BD#FFFFFF#000000##000000
##FCF8BD1.001.0919.3019.30
#FFFFFF1.091.0021.0021.00
#00000019.3021.001.001.00
##00000019.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3B9
Deuteranopia (green-blind)
#FFF7BF
Tritanopia (blue-blind)
#FFF0E8
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fcf8bd;
/* rgb */ color: rgb(252, 248, 189);
/* oklch */ color: oklch(96.8% 0.075 104.5);
Tailwind
colors: {
  custom: {
    50: '#fefad1',
    500: '#fcf8bd',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8bd;
$custom-light: #fefad1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8bd",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 189
  },
  "hsl": {
    "h": 56.19,
    "s": 91.304,
    "l": 86.471
  },
  "oklch": {
    "l": 0.96812,
    "c": 0.07545,
    "h": 104.5
  },
  "luminance": 0.91504
}

Semantic roles & 50–950 ramp

primary
#FCF8BD
secondary
#7B82E2
accent
#0FE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FCF8BD

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

Preview Lab → · Contrast checker → · Palette generator →

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