#FCF0BB#FCF0BB

#FCF0BB is a very light, moderate yellow. Relative luminance 0.866; OKLCH L 95.2% C 0.069 H 96.8°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#FCF0BB
RGBrgb(252, 240, 187)
HSLhsl(49, 92%, 86%)
HSVhsv(49, 26%, 99%)
CMYKcmyk(0%, 4.8%, 25.8%, 1.2%)
CIE-LABlab(94.57, -3.97, 27.13)
CIE-LCHlch(94.57, 27.42, 98.33°)
OKLaboklab(95.18% -0.0082 0.0687)
OKLCHoklch(95.18% 0.069 96.8)
XYZxyz(80.2749, 86.6052, 59.4918)
Luminance0.8660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF0BB #BBC7FC
analogous
#FCCFBB #FCF0BB #E7FCBB
triadic
#FCF0BB #BBFCF0 #F0BBFC
tetradic
#FCF0BB #BBFCCF #BBC7FC #FCBBE7
square
#FCF0BB #BBFCCF #BBC7FC #FCBBE7
split-complementary
#FCF0BB #BBE7FC #CFBBFC
monochromatic
#F7D646 #F9E380 #FCF0BB #FEF9E2 #FEF9E2

Accessibility & contrast

On white

1.15
#FCF0BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.32
#FCF0BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF0BB
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF0BB#FFFFFF#000000##000000
##FCF0BB1.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEDB8
Deuteranopia (green-blind)
#FEF1BD
Tritanopia (blue-blind)
#FFE8E2
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf0bb;
/* rgb */ color: rgb(252, 240, 187);
/* oklch */ color: oklch(95.2% 0.069 96.8);
Tailwind
colors: {
  custom: {
    50: '#fef4cf',
    500: '#fcf0bb',
    950: '#000000',
  },
}
SCSS
$custom: #fcf0bb;
$custom-light: #fef4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf0bb",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 187
  },
  "hsl": {
    "h": 48.923,
    "s": 91.549,
    "l": 86.078
  },
  "oklch": {
    "l": 0.95182,
    "c": 0.06923,
    "h": 96.8
  },
  "luminance": 0.86603
}

Semantic roles & 50–950 ramp

primary
#FCF0BB
secondary
#798DE2
accent
#2AE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FCF0BB

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

Preview Lab → · Contrast checker → · Palette generator →

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