#FCF7BB#FCF7BB

#FCF7BB is a very light, moderate yellow. Relative luminance 0.908; OKLCH L 96.6% C 0.077 H 103.7°. Best body text is #000000 at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#FCF7BB
RGBrgb(252, 247, 187)
HSLhsl(55, 92%, 86%)
HSVhsv(55, 26%, 99%)
CMYKcmyk(0%, 2%, 25.8%, 1.2%)
CIE-LABlab(96.33, -7.47, 29.53)
CIE-LCHlch(96.33, 30.46, 104.19°)
OKLaboklab(96.57% -0.0182 0.0745)
OKLCHoklch(96.57% 0.077 103.7)
XYZxyz(82.3755, 90.8062, 60.1920)
Luminance0.9081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF7BB #BBC0FC
analogous
#FCD6BB #FCF7BB #E0FCBB
triadic
#FCF7BB #BBFCF7 #F7BBFC
tetradic
#FCF7BB #BBFCD6 #BBC0FC #FCBBE0
square
#FCF7BB #BBFCD6 #BBC0FC #FCBBE0
split-complementary
#FCF7BB #BBE0FC #D6BBFC
monochromatic
#F7E946 #F9F080 #FCF7BB #FEFCE2 #FEFCE2

Accessibility & contrast

On white

1.10
#FCF7BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.16
#FCF7BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF7BB
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF7BB#FFFFFF#000000##000000
##FCF7BB1.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3B7
Deuteranopia (green-blind)
#FFF6BD
Tritanopia (blue-blind)
#FFEFE7
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf7bb;
/* rgb */ color: rgb(252, 247, 187);
/* oklch */ color: oklch(96.6% 0.077 103.7);
Tailwind
colors: {
  custom: {
    50: '#fef9cf',
    500: '#fcf7bb',
    950: '#000000',
  },
}
SCSS
$custom: #fcf7bb;
$custom-light: #fef9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf7bb",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 187
  },
  "hsl": {
    "h": 55.385,
    "s": 91.549,
    "l": 86.078
  },
  "oklch": {
    "l": 0.96573,
    "c": 0.07672,
    "h": 103.7
  },
  "luminance": 0.90805
}

Semantic roles & 50–950 ramp

primary
#FCF7BB
secondary
#7981E2
accent
#12E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FCF7BB

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

Preview Lab → · Contrast checker → · Palette generator →

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