#FBF8DC#FBF8DC

#FBF8DC is a very light, muted yellow. Relative luminance 0.928; OKLCH L 97.4% C 0.037 H 102.0°. Best body text is #000000 at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#FBF8DC
RGBrgb(251, 248, 220)
HSLhsl(54, 79%, 92%)
HSVhsv(54, 12%, 98%)
CMYKcmyk(0%, 1.2%, 12.4%, 1.6%)
CIE-LABlab(97.15, -3.61, 13.82)
CIE-LCHlch(97.15, 14.28, 104.66°)
OKLaboklab(97.42% -0.0076 0.0359)
OKLCHoklch(97.42% 0.037 102)
XYZxyz(86.2681, 92.8121, 81.0661)
Luminance0.9281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF8DC #DCDFFB
analogous
#FBE9DC #FBF8DC #EEFBDC
triadic
#FBF8DC #DCFBF8 #F8DCFB
tetradic
#FBF8DC #DCFBE9 #DCDFFB #FBDCEE
square
#FBF8DC #DCFBE9 #DCDFFB #FBDCEE
split-complementary
#FBF8DC #DCEEFB #E9DCFB
monochromatic
#EEE26E #F5EDA5 #FBF8DC #FCFAE4 #FCFAE4

Accessibility & contrast

On white

1.07
#FBF8DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.56
#FBF8DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF8DC
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF8DC#FFFFFF#000000##000000
##FBF8DC1.001.0719.5619.56
#FFFFFF1.071.0021.0021.00
#00000019.5621.001.001.00
##00000019.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF6DA
Deuteranopia (green-blind)
#FFF8DD
Tritanopia (blue-blind)
#FFF4F0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fbf8dc;
/* rgb */ color: rgb(251, 248, 220);
/* oklch */ color: oklch(97.4% 0.037 102.0);
Tailwind
colors: {
  custom: {
    50: '#fcfae6',
    500: '#fbf8dc',
    950: '#000000',
  },
}
SCSS
$custom: #fbf8dc;
$custom-light: #fcfae6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf8dc",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 220
  },
  "hsl": {
    "h": 54.194,
    "s": 79.487,
    "l": 92.353
  },
  "oklch": {
    "l": 0.97416,
    "c": 0.03668,
    "h": 102
  },
  "luminance": 0.92811
}

Semantic roles & 50–950 ramp

primary
#FBF8DC
secondary
#99A0E2
accent
#1EDC0A
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FBF8DC

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

Preview Lab → · Contrast checker → · Palette generator →

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