#FBF2BB#FBF2BB

#FBF2BB is a very light, moderate yellow. Relative luminance 0.876; OKLCH L 95.5% C 0.071 H 99.8°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#FBF2BB
RGBrgb(251, 242, 187)
HSLhsl(52, 89%, 86%)
HSVhsv(52, 25%, 98%)
CMYKcmyk(0%, 3.6%, 25.5%, 1.6%)
CIE-LABlab(94.99, -5.34, 27.70)
CIE-LCHlch(94.99, 28.21, 100.92°)
OKLaboklab(95.5% -0.0121 0.0701)
OKLCHoklch(95.5% 0.071 99.8)
XYZxyz(80.5056, 87.6029, 59.6722)
Luminance0.8760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF2BB #BBC4FB
analogous
#FBD2BB #FBF2BB #E4FBBB
triadic
#FBF2BB #BBFBF2 #F2BBFB
tetradic
#FBF2BB #BBFBD2 #BBC4FB #FBBBE4
square
#FBF2BB #BBFBD2 #BBC4FB #FBBBE4
split-complementary
#FBF2BB #BBE4FB #D2BBFB
monochromatic
#F4DC47 #F8E781 #FBF2BB #FDF9E2 #FDF9E2

Accessibility & contrast

On white

1.13
#FBF2BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.52
#FBF2BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF2BB
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF2BB#FFFFFF#000000##000000
##FBF2BB1.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEEB7
Deuteranopia (green-blind)
#FFF2BD
Tritanopia (blue-blind)
#FFEAE3
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf2bb;
/* rgb */ color: rgb(251, 242, 187);
/* oklch */ color: oklch(95.5% 0.071 99.8);
Tailwind
colors: {
  custom: {
    50: '#fdf6cf',
    500: '#fbf2bb',
    950: '#000000',
  },
}
SCSS
$custom: #fbf2bb;
$custom-light: #fdf6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf2bb",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 187
  },
  "hsl": {
    "h": 51.563,
    "s": 88.889,
    "l": 85.882
  },
  "oklch": {
    "l": 0.95497,
    "c": 0.07114,
    "h": 99.8
  },
  "luminance": 0.87601
}

Semantic roles & 50–950 ramp

primary
#FBF2BB
secondary
#7A88E0
accent
#20E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #FBF2BB

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

Preview Lab → · Contrast checker → · Palette generator →

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