#FBF8EB#FBF8EB

#FBF8EB is a very light, near-neutral yellow. Relative luminance 0.936; OKLCH L 97.8% C 0.017 H 96.1°. Best body text is #000000 at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#FBF8EB
RGBrgb(251, 248, 235)
HSLhsl(49, 67%, 95%)
HSVhsv(49, 6%, 98%)
CMYKcmyk(0%, 1.2%, 6.4%, 1.6%)
CIE-LABlab(97.49, -1.21, 6.59)
CIE-LCHlch(97.49, 6.70, 100.42°)
OKLaboklab(97.79% -0.0018 0.0173)
OKLCHoklch(97.79% 0.017 96.1)
XYZxyz(88.3445, 93.6427, 92.0019)
Luminance0.9364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF8EB #EBEEFB
analogous
#FBF0EB #FBF8EB #F6FBEB
triadic
#FBF8EB #EBFBF8 #F8EBFB
tetradic
#FBF8EB #EBFBF0 #EBEEFB #FBEBF6
square
#FBF8EB #EBFBF0 #EBEEFB #FBEBF6
split-complementary
#FBF8EB #EBF6FB #F0EBFB
monochromatic
#E7D485 #F1E6B8 #FAF6E5 #FAF6E5 #FAF6E5

Accessibility & contrast

On white

1.06
#FBF8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.73
#FBF8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF8EB
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF8EB#FFFFFF#000000##000000
##FBF8EB1.001.0619.7319.73
#FFFFFF1.061.0021.0021.00
#00000019.7321.001.001.00
##00000019.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF7EA
Deuteranopia (green-blind)
#FCF8EB
Tritanopia (blue-blind)
#FEF6F4
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fbf8eb;
/* rgb */ color: rgb(251, 248, 235);
/* oklch */ color: oklch(97.8% 0.017 96.1);
Tailwind
colors: {
  custom: {
    50: '#fcfaf1',
    500: '#fbf8eb',
    950: '#000000',
  },
}
SCSS
$custom: #fbf8eb;
$custom-light: #fcfaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf8eb",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 235
  },
  "hsl": {
    "h": 48.75,
    "s": 66.667,
    "l": 95.294
  },
  "oklch": {
    "l": 0.97792,
    "c": 0.01741,
    "h": 96.1
  },
  "luminance": 0.93642
}

Semantic roles & 50–950 ramp

primary
#FBF8EB
secondary
#AAB4E0
accent
#39CF17
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FBF8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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