#FBF7DC#FBF7DC

#FBF7DC is a very light, muted yellow. Relative luminance 0.922; OKLCH L 97.2% C 0.036 H 100.1°. Best body text is #000000 at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#FBF7DC
RGBrgb(251, 247, 220)
HSLhsl(52, 79%, 92%)
HSVhsv(52, 12%, 98%)
CMYKcmyk(0%, 1.6%, 12.4%, 1.6%)
CIE-LABlab(96.90, -3.11, 13.47)
CIE-LCHlch(96.90, 13.82, 103.02°)
OKLaboklab(97.22% -0.0062 0.035)
OKLCHoklch(97.22% 0.036 100.1)
XYZxyz(85.9614, 92.1989, 80.9639)
Luminance0.9220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF7DC #DCE0FB
analogous
#FBE8DC #FBF7DC #F0FBDC
triadic
#FBF7DC #DCFBF7 #F7DCFB
tetradic
#FBF7DC #DCFBE8 #DCE0FB #FBDCF0
square
#FBF7DC #DCFBE8 #DCE0FB #FBDCF0
split-complementary
#FBF7DC #DCF0FB #E8DCFB
monochromatic
#EEDE6E #F5EAA5 #FBF7DC #FCF9E4 #FCF9E4

Accessibility & contrast

On white

1.08
#FBF7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.44
#FBF7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF7DC
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF7DC#FFFFFF#000000##000000
##FBF7DC1.001.0819.4419.44
#FFFFFF1.081.0021.0021.00
#00000019.4421.001.001.00
##00000019.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF5DA
Deuteranopia (green-blind)
#FEF7DD
Tritanopia (blue-blind)
#FFF3EF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fbf7dc;
/* rgb */ color: rgb(251, 247, 220);
/* oklch */ color: oklch(97.2% 0.036 100.1);
Tailwind
colors: {
  custom: {
    50: '#fcf9e6',
    500: '#fbf7dc',
    950: '#000000',
  },
}
SCSS
$custom: #fbf7dc;
$custom-light: #fcf9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf7dc",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 220
  },
  "hsl": {
    "h": 52.258,
    "s": 79.487,
    "l": 92.353
  },
  "oklch": {
    "l": 0.97219,
    "c": 0.03553,
    "h": 100.1
  },
  "luminance": 0.92198
}

Semantic roles & 50–950 ramp

primary
#FBF7DC
secondary
#99A3E2
accent
#25DC0A
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FBF7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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