#FBF2BA#FBF2BA

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

Color values

HEX#FBF2BA
RGBrgb(251, 242, 186)
HSLhsl(52, 89%, 86%)
HSVhsv(52, 26%, 98%)
CMYKcmyk(0%, 3.6%, 25.9%, 1.6%)
CIE-LABlab(94.98, -5.47, 28.18)
CIE-LCHlch(94.98, 28.71, 100.99°)
OKLaboklab(95.48% -0.0125 0.0713)
OKLCHoklch(95.48% 0.072 100)
XYZxyz(80.3990, 87.5602, 59.1104)
Luminance0.8756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF2BA #BAC3FB
analogous
#FBD1BA #FBF2BA #E3FBBA
triadic
#FBF2BA #BAFBF2 #F2BAFB
tetradic
#FBF2BA #BAFBD1 #BAC3FB #FBBAE3
square
#FBF2BA #BAFBD1 #BAC3FB #FBBAE3
split-complementary
#FBF2BA #BAE3FB #D1BAFB
monochromatic
#F4DC46 #F8E780 #FBF2BA #FDFAE2 #FDFAE2

Accessibility & contrast

On white

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

On black

18.51
#FBF2BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF2BA
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF2BA#FFFFFF#000000##000000
##FBF2BA1.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf2ba;
/* rgb */ color: rgb(251, 242, 186);
/* oklch */ color: oklch(95.5% 0.072 100.0);
Tailwind
colors: {
  custom: {
    50: '#fdf6cf',
    500: '#fbf2ba',
    950: '#000000',
  },
}
SCSS
$custom: #fbf2ba;
$custom-light: #fdf6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf2ba",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 186
  },
  "hsl": {
    "h": 51.692,
    "s": 89.041,
    "l": 85.686
  },
  "oklch": {
    "l": 0.95477,
    "c": 0.07235,
    "h": 100
  },
  "luminance": 0.87559
}

Semantic roles & 50–950 ramp

primary
#FBF2BA
secondary
#7987E0
accent
#20E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181713
muted
#868583

Preview Lab

Preview with #FBF2BA

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

Preview Lab → · Contrast checker → · Palette generator →

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