#FBF8BD#FBF8BD

#FBF8BD is a very light, moderate yellow. Relative luminance 0.913; OKLCH L 96.7% C 0.075 H 105.3°. Best body text is #000000 at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#FBF8BD
RGBrgb(251, 248, 189)
HSLhsl(57, 89%, 86%)
HSVhsv(57, 25%, 98%)
CMYKcmyk(0%, 1.2%, 24.7%, 1.6%)
CIE-LABlab(96.54, -8.07, 28.79)
CIE-LCHlch(96.54, 29.90, 105.66°)
OKLaboklab(96.73% -0.0199 0.0728)
OKLCHoklch(96.73% 0.075 105.3)
XYZxyz(82.5364, 91.3194, 61.4127)
Luminance0.9132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF8BD #BDC0FB
analogous
#FBD9BD #FBF8BD #DFFBBD
triadic
#FBF8BD #BDFBF8 #F8BDFB
tetradic
#FBF8BD #BDFBD9 #BDC0FB #FBBDDF
square
#FBF8BD #BDFBD9 #BDC0FB #FBBDDF
split-complementary
#FBF8BD #BDDFFB #D9BDFB
monochromatic
#F4EC4A #F8F283 #FBF8BD #FDFCE2 #FDFCE2

Accessibility & contrast

On white

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

On black

19.26
#FBF8BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF8BD
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF8BD#FFFFFF#000000##000000
##FBF8BD1.001.0919.2619.26
#FFFFFF1.091.0021.0021.00
#00000019.2621.001.001.00
##00000019.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf8bd;
/* rgb */ color: rgb(251, 248, 189);
/* oklch */ color: oklch(96.7% 0.075 105.3);
Tailwind
colors: {
  custom: {
    50: '#fdfad1',
    500: '#fbf8bd',
    950: '#000000',
  },
}
SCSS
$custom: #fbf8bd;
$custom-light: #fdfad1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf8bd",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 189
  },
  "hsl": {
    "h": 57.097,
    "s": 88.571,
    "l": 86.275
  },
  "oklch": {
    "l": 0.96733,
    "c": 0.07544,
    "h": 105.3
  },
  "luminance": 0.91318
}

Semantic roles & 50–950 ramp

primary
#FBF8BD
secondary
#7C81E0
accent
#0BE500
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #FBF8BD

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

Preview Lab → · Contrast checker → · Palette generator →

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