#FBF7EB#FBF7EB

#FBF7EB is a very light, near-neutral yellow. Relative luminance 0.930; OKLCH L 97.6% C 0.016 H 91.5°. Best body text is #000000 at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#FBF7EB
RGBrgb(251, 247, 235)
HSLhsl(45, 67%, 95%)
HSVhsv(45, 6%, 98%)
CMYKcmyk(0%, 1.6%, 6.4%, 1.6%)
CIE-LABlab(97.24, -0.71, 6.23)
CIE-LCHlch(97.24, 6.27, 96.47°)
OKLaboklab(97.6% -0.0004 0.0164)
OKLCHoklch(97.6% 0.016 91.5)
XYZxyz(88.0378, 93.0294, 91.8997)
Luminance0.9303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF7EB #EBEFFB
analogous
#FBEFEB #FBF7EB #F7FBEB
triadic
#FBF7EB #EBFBF7 #F7EBFB
tetradic
#FBF7EB #EBFBEF #EBEFFB #FBEBF7
square
#FBF7EB #EBFBEF #EBEFFB #FBEBF7
split-complementary
#FBF7EB #EBF7FB #EFEBFB
monochromatic
#E7CE85 #F1E3B8 #FAF5E5 #FAF5E5 #FAF5E5

Accessibility & contrast

On white

1.07
#FBF7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.61
#FBF7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF7EB
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF7EB#FFFFFF#000000##000000
##FBF7EB1.001.0719.6119.61
#FFFFFF1.071.0021.0021.00
#00000019.6121.001.001.00
##00000019.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF6EA
Deuteranopia (green-blind)
#FBF8EB
Tritanopia (blue-blind)
#FEF5F3
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fbf7eb;
/* rgb */ color: rgb(251, 247, 235);
/* oklch */ color: oklch(97.6% 0.016 91.5);
Tailwind
colors: {
  custom: {
    50: '#fcf9f1',
    500: '#fbf7eb',
    950: '#000000',
  },
}
SCSS
$custom: #fbf7eb;
$custom-light: #fcf9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf7eb",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 235
  },
  "hsl": {
    "h": 45,
    "s": 66.667,
    "l": 95.294
  },
  "oklch": {
    "l": 0.97597,
    "c": 0.01639,
    "h": 91.5
  },
  "luminance": 0.93029
}

Semantic roles & 50–950 ramp

primary
#FBF7EB
secondary
#AAB8E0
accent
#45CF17
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FBF7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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