#FBF8BC#FBF8BC

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

Color values

HEX#FBF8BC
RGBrgb(251, 248, 188)
HSLhsl(57, 89%, 86%)
HSVhsv(57, 25%, 98%)
CMYKcmyk(0%, 1.2%, 25.1%, 1.6%)
CIE-LABlab(96.52, -8.20, 29.27)
CIE-LCHlch(96.52, 30.40, 105.65°)
OKLaboklab(96.71% -0.0203 0.0739)
OKLCHoklch(96.71% 0.077 105.3)
XYZxyz(82.4282, 91.2762, 60.8430)
Luminance0.9127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF8BC #BCBFFB
analogous
#FBD8BC #FBF8BC #DEFBBC
triadic
#FBF8BC #BCFBF8 #F8BCFB
tetradic
#FBF8BC #BCFBD8 #BCBFFB #FBBCDE
square
#FBF8BC #BCFBD8 #BCBFFB #FBBCDE
split-complementary
#FBF8BC #BCDEFB #D8BCFB
monochromatic
#F4EC48 #F8F282 #FBF8BC #FDFCE2 #FDFCE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF8BC#FFFFFF#000000##000000
##FBF8BC1.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)
#FFF3B8
Deuteranopia (green-blind)
#FFF6BE
Tritanopia (blue-blind)
#FFF0E8
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fbf8bc;
/* rgb */ color: rgb(251, 248, 188);
/* oklch */ color: oklch(96.7% 0.077 105.3);
Tailwind
colors: {
  custom: {
    50: '#fdfad0',
    500: '#fbf8bc',
    950: '#000000',
  },
}
SCSS
$custom: #fbf8bc;
$custom-light: #fdfad0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf8bc",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 188
  },
  "hsl": {
    "h": 57.143,
    "s": 88.732,
    "l": 86.078
  },
  "oklch": {
    "l": 0.96713,
    "c": 0.07665,
    "h": 105.3
  },
  "luminance": 0.91275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF8BC

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

Preview Lab → · Contrast checker → · Palette generator →

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