#FCF2BB#FCF2BB

#FCF2BB is a very light, moderate yellow. Relative luminance 0.878; OKLCH L 95.6% C 0.071 H 98.9°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#FCF2BB
RGBrgb(252, 242, 187)
HSLhsl(51, 92%, 86%)
HSVhsv(51, 26%, 99%)
CMYKcmyk(0%, 4%, 25.8%, 1.2%)
CIE-LABlab(95.07, -4.97, 27.82)
CIE-LCHlch(95.07, 28.26, 100.14°)
OKLaboklab(95.58% -0.0111 0.0704)
OKLCHoklch(95.58% 0.071 98.9)
XYZxyz(80.8669, 87.7892, 59.6891)
Luminance0.8779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF2BB #BBC5FC
analogous
#FCD1BB #FCF2BB #E5FCBB
triadic
#FCF2BB #BBFCF2 #F2BBFC
tetradic
#FCF2BB #BBFCD1 #BBC5FC #FCBBE5
square
#FCF2BB #BBFCD1 #BBC5FC #FCBBE5
split-complementary
#FCF2BB #BBE5FC #D1BBFC
monochromatic
#F7DC46 #F9E780 #FCF2BB #FEF9E2 #FEF9E2

Accessibility & contrast

On white

1.13
#FCF2BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.56
#FCF2BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF2BB
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF2BB#FFFFFF#000000##000000
##FCF2BB1.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEEB7
Deuteranopia (green-blind)
#FFF3BD
Tritanopia (blue-blind)
#FFEAE3
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf2bb;
/* rgb */ color: rgb(252, 242, 187);
/* oklch */ color: oklch(95.6% 0.071 98.9);
Tailwind
colors: {
  custom: {
    50: '#fef6cf',
    500: '#fcf2bb',
    950: '#000000',
  },
}
SCSS
$custom: #fcf2bb;
$custom-light: #fef6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf2bb",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 187
  },
  "hsl": {
    "h": 50.769,
    "s": 91.549,
    "l": 86.078
  },
  "oklch": {
    "l": 0.95579,
    "c": 0.07126,
    "h": 98.9
  },
  "luminance": 0.87788
}

Semantic roles & 50–950 ramp

primary
#FCF2BB
secondary
#7989E2
accent
#23E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FCF2BB

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

Preview Lab → · Contrast checker → · Palette generator →

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