#FCF8BB#FCF8BB

#FCF8BB is a very light, moderate yellow. Relative luminance 0.914; OKLCH L 96.8% C 0.078 H 104.6°. Best body text is #000000 at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#FCF8BB
RGBrgb(252, 248, 187)
HSLhsl(56, 92%, 86%)
HSVhsv(56, 26%, 99%)
CMYKcmyk(0%, 1.6%, 25.8%, 1.2%)
CIE-LABlab(96.58, -7.97, 29.87)
CIE-LCHlch(96.58, 30.92, 104.93°)
OKLaboklab(96.77% -0.0196 0.0754)
OKLCHoklch(96.77% 0.078 104.6)
XYZxyz(82.6821, 91.4195, 60.2942)
Luminance0.9142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8BB #BBBFFC
analogous
#FCD7BB #FCF8BB #DFFCBB
triadic
#FCF8BB #BBFCF8 #F8BBFC
tetradic
#FCF8BB #BBFCD7 #BBBFFC #FCBBDF
square
#FCF8BB #BBFCD7 #BBBFFC #FCBBDF
split-complementary
#FCF8BB #BBDFFC #D7BBFC
monochromatic
#F7EC46 #F9F280 #FCF8BB #FEFCE2 #FEFCE2

Accessibility & contrast

On white

1.09
#FCF8BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.28
#FCF8BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF8BB
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF8BB#FFFFFF#000000##000000
##FCF8BB1.001.0919.2819.28
#FFFFFF1.091.0021.0021.00
#00000019.2821.001.001.00
##00000019.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3B7
Deuteranopia (green-blind)
#FFF7BD
Tritanopia (blue-blind)
#FFF0E8
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fcf8bb;
/* rgb */ color: rgb(252, 248, 187);
/* oklch */ color: oklch(96.8% 0.078 104.6);
Tailwind
colors: {
  custom: {
    50: '#fefacf',
    500: '#fcf8bb',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8bb;
$custom-light: #fefacf;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8bb",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 187
  },
  "hsl": {
    "h": 56.308,
    "s": 91.549,
    "l": 86.078
  },
  "oklch": {
    "l": 0.96773,
    "c": 0.07787,
    "h": 104.6
  },
  "luminance": 0.91418
}

Semantic roles & 50–950 ramp

primary
#FCF8BB
secondary
#7980E2
accent
#0EE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FCF8BB

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

Preview Lab → · Contrast checker → · Palette generator →

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