#FBF7DF#FBF7DF

#FBF7DF is a very light, muted yellow. Relative luminance 0.924; OKLCH L 97.3% C 0.032 H 99.2°. Best body text is #000000 at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#FBF7DF
RGBrgb(251, 247, 223)
HSLhsl(51, 78%, 93%)
HSVhsv(51, 11%, 98%)
CMYKcmyk(0%, 1.6%, 11.2%, 1.6%)
CIE-LABlab(96.97, -2.64, 12.02)
CIE-LCHlch(96.97, 12.30, 102.41°)
OKLaboklab(97.29% -0.0051 0.0313)
OKLCHoklch(97.29% 0.032 99.2)
XYZxyz(86.3623, 92.3592, 83.0752)
Luminance0.9236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF7DF #DFE3FB
analogous
#FBE9DF #FBF7DF #F1FBDF
triadic
#FBF7DF #DFFBF7 #F7DFFB
tetradic
#FBF7DF #DFFBE9 #DFE3FB #FBDFF1
square
#FBF7DF #DFFBE9 #DFE3FB #FBDFF1
split-complementary
#FBF7DF #DFF1FB #E9DFFB
monochromatic
#EDDC72 #F4E9A9 #FBF7DF #FCF8E4 #FCF8E4

Accessibility & contrast

On white

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

On black

19.47
#FBF7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF7DF
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF7DF#FFFFFF#000000##000000
##FBF7DF1.001.0819.4719.47
#FFFFFF1.081.0021.0021.00
#00000019.4721.001.001.00
##00000019.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF5DE
Deuteranopia (green-blind)
#FDF7E0
Tritanopia (blue-blind)
#FFF3F0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fbf7df;
/* rgb */ color: rgb(251, 247, 223);
/* oklch */ color: oklch(97.3% 0.032 99.2);
Tailwind
colors: {
  custom: {
    50: '#fcf9e9',
    500: '#fbf7df',
    950: '#000000',
  },
}
SCSS
$custom: #fbf7df;
$custom-light: #fcf9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf7df",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 223
  },
  "hsl": {
    "h": 51.429,
    "s": 77.778,
    "l": 92.941
  },
  "oklch": {
    "l": 0.97292,
    "c": 0.0317,
    "h": 99.2
  },
  "luminance": 0.92358
}

Semantic roles & 50–950 ramp

primary
#FBF7DF
secondary
#9CA6E2
accent
#29DA0B
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FBF7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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