#FBF7EA#FBF7EA

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

Color values

HEX#FBF7EA
RGBrgb(251, 247, 234)
HSLhsl(46, 68%, 95%)
HSVhsv(46, 7%, 98%)
CMYKcmyk(0%, 1.6%, 6.8%, 1.6%)
CIE-LABlab(97.22, -0.87, 6.71)
CIE-LCHlch(97.22, 6.77, 97.41°)
OKLaboklab(97.57% -0.0008 0.0176)
OKLCHoklch(97.57% 0.018 92.7)
XYZxyz(87.8938, 92.9718, 91.1410)
Luminance0.9297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF7EA #EAEEFB
analogous
#FBEEEA #FBF7EA #F7FBEA
triadic
#FBF7EA #EAFBF7 #F7EAFB
tetradic
#FBF7EA #EAFBEE #EAEEFB #FBEAF7
square
#FBF7EA #EAFBEE #EAEEFB #FBEAF7
split-complementary
#FBF7EA #EAF7FB #EEEAFB
monochromatic
#E7D083 #F1E3B7 #FAF5E5 #FAF5E5 #FAF5E5

Accessibility & contrast

On white

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

On black

19.59
#FBF7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF7EA
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF7EA#FFFFFF#000000##000000
##FBF7EA1.001.0719.5919.59
#FFFFFF1.071.0021.0021.00
#00000019.5921.001.001.00
##00000019.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf7ea;
/* rgb */ color: rgb(251, 247, 234);
/* oklch */ color: oklch(97.6% 0.018 92.7);
Tailwind
colors: {
  custom: {
    50: '#fcf9f0',
    500: '#fbf7ea',
    950: '#000000',
  },
}
SCSS
$custom: #fbf7ea;
$custom-light: #fcf9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf7ea",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 234
  },
  "hsl": {
    "h": 45.882,
    "s": 68,
    "l": 95.098
  },
  "oklch": {
    "l": 0.97571,
    "c": 0.01765,
    "h": 92.7
  },
  "luminance": 0.92971
}

Semantic roles & 50–950 ramp

primary
#FBF7EA
secondary
#A9B6E0
accent
#41D016
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FBF7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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