#FBF2BD#FBF2BD

#FBF2BD is a very light, moderate yellow. Relative luminance 0.877; OKLCH L 95.5% C 0.069 H 99.5°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#FBF2BD
RGBrgb(251, 242, 189)
HSLhsl(51, 89%, 86%)
HSVhsv(51, 25%, 98%)
CMYKcmyk(0%, 3.6%, 24.7%, 1.6%)
CIE-LABlab(95.03, -5.08, 26.73)
CIE-LCHlch(95.03, 27.21, 100.76°)
OKLaboklab(95.54% -0.0113 0.0678)
OKLCHoklch(95.54% 0.069 99.5)
XYZxyz(80.7212, 87.6891, 60.8076)
Luminance0.8769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF2BD #BDC6FB
analogous
#FBD3BD #FBF2BD #E5FBBD
triadic
#FBF2BD #BDFBF2 #F2BDFB
tetradic
#FBF2BD #BDFBD3 #BDC6FB #FBBDE5
square
#FBF2BD #BDFBD3 #BDC6FB #FBBDE5
split-complementary
#FBF2BD #BDE5FB #D3BDFB
monochromatic
#F4DB4A #F8E783 #FBF2BD #FDF9E2 #FDF9E2

Accessibility & contrast

On white

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

On black

18.54
#FBF2BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF2BD
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF2BD#FFFFFF#000000##000000
##FBF2BD1.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEFBA
Deuteranopia (green-blind)
#FFF2BF
Tritanopia (blue-blind)
#FFEAE4
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf2bd;
/* rgb */ color: rgb(251, 242, 189);
/* oklch */ color: oklch(95.5% 0.069 99.5);
Tailwind
colors: {
  custom: {
    50: '#fdf6d1',
    500: '#fbf2bd',
    950: '#000000',
  },
}
SCSS
$custom: #fbf2bd;
$custom-light: #fdf6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf2bd",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 189
  },
  "hsl": {
    "h": 51.29,
    "s": 88.571,
    "l": 86.275
  },
  "oklch": {
    "l": 0.95538,
    "c": 0.06872,
    "h": 99.5
  },
  "luminance": 0.87688
}

Semantic roles & 50–950 ramp

primary
#FBF2BD
secondary
#7C8BE0
accent
#22E500
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #FBF2BD

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

Preview Lab → · Contrast checker → · Palette generator →

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