#FCF2B2#FCF2B2

#FCF2B2 is a very light, moderate yellow. Relative luminance 0.874; OKLCH L 95.4% C 0.082 H 100.3°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#FCF2B2
RGBrgb(252, 242, 178)
HSLhsl(52, 93%, 84%)
HSVhsv(52, 29%, 99%)
CMYKcmyk(0%, 4%, 29.4%, 1.2%)
CIE-LABlab(94.91, -6.12, 32.17)
CIE-LCHlch(94.91, 32.75, 100.78°)
OKLaboklab(95.4% -0.0146 0.0807)
OKLCHoklch(95.4% 0.082 100.3)
XYZxyz(79.9335, 87.4158, 54.7730)
Luminance0.8741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF2B2 #B2BCFC
analogous
#FCCDB2 #FCF2B2 #E1FCB2
triadic
#FCF2B2 #B2FCF2 #F2B2FC
tetradic
#FCF2B2 #B2FCCD #B2BCFC #FCB2E1
square
#FCF2B2 #B2FCCD #B2BCFC #FCB2E1
split-complementary
#FCF2B2 #B2E1FC #CDB2FC
monochromatic
#F7DE3C #FAE877 #FCF2B2 #FEFAE2 #FEFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF2B2#FFFFFF#000000##000000
##FCF2B21.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)
#FEEEAE
Deuteranopia (green-blind)
#FFF2B4
Tritanopia (blue-blind)
#FFE9E1
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf2b2;
/* rgb */ color: rgb(252, 242, 178);
/* oklch */ color: oklch(95.4% 0.082 100.3);
Tailwind
colors: {
  custom: {
    50: '#fef6c9',
    500: '#fcf2b2',
    950: '#000000',
  },
}
SCSS
$custom: #fcf2b2;
$custom-light: #fef6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf2b2",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 178
  },
  "hsl": {
    "h": 51.892,
    "s": 92.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.95402,
    "c": 0.08201,
    "h": 100.3
  },
  "luminance": 0.87414
}

Semantic roles & 50–950 ramp

primary
#FCF2B2
secondary
#7181E1
accent
#1FE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FCF2B2

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

Preview Lab → · Contrast checker → · Palette generator →

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