#FBF8BB#FBF8BB

#FBF8BB is a very light, moderate yellow. Relative luminance 0.912; OKLCH L 96.7% C 0.078 H 105.4°. Best body text is #000000 at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#FBF8BB
RGBrgb(251, 248, 187)
HSLhsl(57, 89%, 86%)
HSVhsv(57, 25%, 98%)
CMYKcmyk(0%, 1.2%, 25.5%, 1.6%)
CIE-LABlab(96.51, -8.33, 29.76)
CIE-LCHlch(96.51, 30.90, 105.64°)
OKLaboklab(96.69% -0.0207 0.0751)
OKLCHoklch(96.69% 0.078 105.4)
XYZxyz(82.3208, 91.2332, 60.2772)
Luminance0.9123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF8BB #BBBEFB
analogous
#FBD8BB #FBF8BB #DEFBBB
triadic
#FBF8BB #BBFBF8 #F8BBFB
tetradic
#FBF8BB #BBFBD8 #BBBEFB #FBBBDE
square
#FBF8BB #BBFBD8 #BBBEFB #FBBBDE
split-complementary
#FBF8BB #BBDEFB #D8BBFB
monochromatic
#F4EC47 #F8F281 #FBF8BB #FDFCE2 #FDFCE2

Accessibility & contrast

On white

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

On black

19.25
#FBF8BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF8BB
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF8BB#FFFFFF#000000##000000
##FBF8BB1.001.0919.2519.25
#FFFFFF1.091.0021.0021.00
#00000019.2521.001.001.00
##00000019.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf8bb;
/* rgb */ color: rgb(251, 248, 187);
/* oklch */ color: oklch(96.7% 0.078 105.4);
Tailwind
colors: {
  custom: {
    50: '#fdfacf',
    500: '#fbf8bb',
    950: '#000000',
  },
}
SCSS
$custom: #fbf8bb;
$custom-light: #fdfacf;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf8bb",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 187
  },
  "hsl": {
    "h": 57.188,
    "s": 88.889,
    "l": 85.882
  },
  "oklch": {
    "l": 0.96694,
    "c": 0.07787,
    "h": 105.4
  },
  "luminance": 0.91232
}

Semantic roles & 50–950 ramp

primary
#FBF8BB
secondary
#7A7FE0
accent
#0BE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FBF8BB

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

Preview Lab → · Contrast checker → · Palette generator →

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