#FBF7BB#FBF7BB

#FBF7BB is a very light, moderate yellow. Relative luminance 0.906; OKLCH L 96.5% C 0.077 H 104.6°. Best body text is #000000 at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#FBF7BB
RGBrgb(251, 247, 187)
HSLhsl(56, 89%, 86%)
HSVhsv(56, 25%, 98%)
CMYKcmyk(0%, 1.6%, 25.5%, 1.6%)
CIE-LABlab(96.25, -7.84, 29.41)
CIE-LCHlch(96.25, 30.44, 104.92°)
OKLaboklab(96.49% -0.0193 0.0742)
OKLCHoklch(96.49% 0.077 104.6)
XYZxyz(82.0142, 90.6200, 60.1750)
Luminance0.9062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF7BB #BBBFFB
analogous
#FBD7BB #FBF7BB #DFFBBB
triadic
#FBF7BB #BBFBF7 #F7BBFB
tetradic
#FBF7BB #BBFBD7 #BBBFFB #FBBBDF
square
#FBF7BB #BBFBD7 #BBBFFB #FBBBDF
split-complementary
#FBF7BB #BBDFFB #D7BBFB
monochromatic
#F4E947 #F8F081 #FBF7BB #FDFCE2 #FDFCE2

Accessibility & contrast

On white

1.10
#FBF7BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.12
#FBF7BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF7BB
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF7BB#FFFFFF#000000##000000
##FBF7BB1.001.1019.1219.12
#FFFFFF1.101.0021.0021.00
#00000019.1221.001.001.00
##00000019.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2B7
Deuteranopia (green-blind)
#FFF6BD
Tritanopia (blue-blind)
#FFEFE7
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbf7bb;
/* rgb */ color: rgb(251, 247, 187);
/* oklch */ color: oklch(96.5% 0.077 104.6);
Tailwind
colors: {
  custom: {
    50: '#fdf9cf',
    500: '#fbf7bb',
    950: '#000000',
  },
}
SCSS
$custom: #fbf7bb;
$custom-light: #fdf9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf7bb",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 187
  },
  "hsl": {
    "h": 56.25,
    "s": 88.889,
    "l": 85.882
  },
  "oklch": {
    "l": 0.96494,
    "c": 0.0767,
    "h": 104.6
  },
  "luminance": 0.90619
}

Semantic roles & 50–950 ramp

primary
#FBF7BB
secondary
#7A81E0
accent
#0EE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #FBF7BB

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

Preview Lab → · Contrast checker → · Palette generator →

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