#FCF2CC#FCF2CC

#FCF2CC is a very light, muted yellow. Relative luminance 0.886; OKLCH L 95.9% C 0.051 H 95.0°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#FCF2CC
RGBrgb(252, 242, 204)
HSLhsl(48, 89%, 89%)
HSVhsv(48, 19%, 99%)
CMYKcmyk(0%, 4%, 19%, 1.2%)
CIE-LABlab(95.40, -2.64, 19.57)
CIE-LCHlch(95.40, 19.75, 97.67°)
OKLaboklab(95.94% -0.0044 0.0503)
OKLCHoklch(95.94% 0.051 95)
XYZxyz(82.7957, 88.5607, 69.8473)
Luminance0.8856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF2CC #CCD6FC
analogous
#FCDACC #FCF2CC #EEFCCC
triadic
#FCF2CC #CCFCF2 #F2CCFC
tetradic
#FCF2CC #CCFCDA #CCD6FC #FCCCEE
square
#FCF2CC #CCFCDA #CCD6FC #FCCCEE
split-complementary
#FCF2CC #CCEEFC #DACCFC
monochromatic
#F5D558 #F9E392 #FCF2CC #FDF8E2 #FDF8E2

Accessibility & contrast

On white

1.12
#FCF2CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.71
#FCF2CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF2CC
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF2CC#FFFFFF#000000##000000
##FCF2CC1.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF0CA
Deuteranopia (green-blind)
#FDF3CD
Tritanopia (blue-blind)
#FFECE7
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf2cc;
/* rgb */ color: rgb(252, 242, 204);
/* oklch */ color: oklch(95.9% 0.051 95.0);
Tailwind
colors: {
  custom: {
    50: '#fdf6db',
    500: '#fcf2cc',
    950: '#000000',
  },
}
SCSS
$custom: #fcf2cc;
$custom-light: #fdf6db;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf2cc",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 204
  },
  "hsl": {
    "h": 47.5,
    "s": 88.889,
    "l": 89.412
  },
  "oklch": {
    "l": 0.95941,
    "c": 0.0505,
    "h": 95
  },
  "luminance": 0.88559
}

Semantic roles & 50–950 ramp

primary
#FCF2CC
secondary
#899CE3
accent
#30E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171715
muted
#858584

Preview Lab

Preview with #FCF2CC

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

Preview Lab → · Contrast checker → · Palette generator →

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