#FCF0CC#FCF0CC

#FCF0CC is a very light, muted yellow. Relative luminance 0.874; OKLCH L 95.5% C 0.049 H 91.8°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#FCF0CC
RGBrgb(252, 240, 204)
HSLhsl(45, 89%, 89%)
HSVhsv(45, 19%, 99%)
CMYKcmyk(0%, 4.8%, 19%, 1.2%)
CIE-LABlab(94.90, -1.63, 18.88)
CIE-LCHlch(94.90, 18.95, 94.93°)
OKLaboklab(95.55% -0.0015 0.0486)
OKLCHoklch(95.55% 0.049 91.8)
XYZxyz(82.2037, 87.3767, 69.6500)
Luminance0.8738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF0CC #CCD8FC
analogous
#FCD8CC #FCF0CC #F0FCCC
triadic
#FCF0CC #CCFCF0 #F0CCFC
tetradic
#FCF0CC #CCFCD8 #CCD8FC #FCCCF0
square
#FCF0CC #CCFCD8 #CCD8FC #FCCCF0
split-complementary
#FCF0CC #CCF0FC #D8CCFC
monochromatic
#F5CE58 #F9DF92 #FCF0CC #FDF7E2 #FDF7E2

Accessibility & contrast

On white

1.14
#FCF0CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.48
#FCF0CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF0CC
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF0CC#FFFFFF#000000##000000
##FCF0CC1.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8EECA
Deuteranopia (green-blind)
#FCF2CD
Tritanopia (blue-blind)
#FFEAE6
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf0cc;
/* rgb */ color: rgb(252, 240, 204);
/* oklch */ color: oklch(95.5% 0.049 91.8);
Tailwind
colors: {
  custom: {
    50: '#fdf4db',
    500: '#fcf0cc',
    950: '#000000',
  },
}
SCSS
$custom: #fcf0cc;
$custom-light: #fdf4db;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf0cc",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 204
  },
  "hsl": {
    "h": 45,
    "s": 88.889,
    "l": 89.412
  },
  "oklch": {
    "l": 0.95548,
    "c": 0.0486,
    "h": 91.8
  },
  "luminance": 0.87375
}

Semantic roles & 50–950 ramp

primary
#FCF0CC
secondary
#899FE3
accent
#39E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171715
muted
#858584

Preview Lab

Preview with #FCF0CC

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

Preview Lab → · Contrast checker → · Palette generator →

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