#FBF8ED#FBF8ED

#FBF8ED is a very light, near-neutral yellow. Relative luminance 0.938; OKLCH L 97.8% C 0.015 H 94.2°. Best body text is #000000 at 19.75:1 contrast (WCAG AA passes).

Color values

HEX#FBF8ED
RGBrgb(251, 248, 237)
HSLhsl(47, 64%, 96%)
HSVhsv(47, 6%, 98%)
CMYKcmyk(0%, 1.2%, 5.6%, 1.6%)
CIE-LABlab(97.53, -0.88, 5.63)
CIE-LCHlch(97.53, 5.70, 98.89°)
OKLaboklab(97.84% -0.0011 0.0148)
OKLCHoklch(97.84% 0.015 94.2)
XYZxyz(88.6350, 93.7589, 93.5322)
Luminance0.9376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF8ED #EDF0FB
analogous
#FBF1ED #FBF8ED #F7FBED
triadic
#FBF8ED #EDFBF8 #F8EDFB
tetradic
#FBF8ED #EDFBF1 #EDF0FB #FBEDF7
square
#FBF8ED #EDFBF1 #EDF0FB #FBEDF7
split-complementary
#FBF8ED #EDF7FB #F1EDFB
monochromatic
#E5D189 #F0E5BB #F9F5E6 #F9F5E6 #F9F5E6

Accessibility & contrast

On white

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

On black

19.75
#FBF8ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF8ED
19.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF8ED#FFFFFF#000000##000000
##FBF8ED1.001.0619.7519.75
#FFFFFF1.061.0021.0021.00
#00000019.7521.001.001.00
##00000019.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF7EC
Deuteranopia (green-blind)
#FCF8ED
Tritanopia (blue-blind)
#FEF6F5
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fbf8ed;
/* rgb */ color: rgb(251, 248, 237);
/* oklch */ color: oklch(97.8% 0.015 94.2);
Tailwind
colors: {
  custom: {
    50: '#fcfaf2',
    500: '#fbf8ed',
    950: '#000000',
  },
}
SCSS
$custom: #fbf8ed;
$custom-light: #fcfaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf8ed",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 237
  },
  "hsl": {
    "h": 47.143,
    "s": 63.636,
    "l": 95.686
  },
  "oklch": {
    "l": 0.97844,
    "c": 0.01484,
    "h": 94.2
  },
  "luminance": 0.93758
}

Semantic roles & 50–950 ramp

primary
#FBF8ED
secondary
#ADB8DF
accent
#40CB1A
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FBF8ED

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

Preview Lab → · Contrast checker → · Palette generator →

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