#FBF2B2#FBF2B2

#FBF2B2 is a very light, moderate yellow. Relative luminance 0.872; OKLCH L 95.3% C 0.082 H 101.0°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#FBF2B2
RGBrgb(251, 242, 178)
HSLhsl(53, 90%, 84%)
HSVhsv(53, 29%, 98%)
CMYKcmyk(0%, 3.6%, 29.1%, 1.6%)
CIE-LABlab(94.84, -6.50, 32.05)
CIE-LCHlch(94.84, 32.70, 101.46°)
OKLaboklab(95.32% -0.0157 0.0804)
OKLCHoklch(95.32% 0.082 101)
XYZxyz(79.5722, 87.2295, 54.7561)
Luminance0.8723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF2B2 #B2BBFB
analogous
#FBCEB2 #FBF2B2 #E0FBB2
triadic
#FBF2B2 #B2FBF2 #F2B2FB
tetradic
#FBF2B2 #B2FBCE #B2BBFB #FBB2E0
square
#FBF2B2 #B2FBCE #B2BBFB #FBB2E0
split-complementary
#FBF2B2 #B2E0FB #CEB2FB
monochromatic
#F5DE3E #F8E878 #FBF2B2 #FDFAE2 #FDFAE2

Accessibility & contrast

On white

1.14
#FBF2B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.45
#FBF2B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF2B2
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF2B2#FFFFFF#000000##000000
##FBF2B21.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEEAE
Deuteranopia (green-blind)
#FFF2B4
Tritanopia (blue-blind)
#FFE9E1
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf2b2;
/* rgb */ color: rgb(251, 242, 178);
/* oklch */ color: oklch(95.3% 0.082 101.0);
Tailwind
colors: {
  custom: {
    50: '#fdf6c9',
    500: '#fbf2b2',
    950: '#000000',
  },
}
SCSS
$custom: #fbf2b2;
$custom-light: #fdf6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf2b2",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 178
  },
  "hsl": {
    "h": 52.603,
    "s": 90.123,
    "l": 84.118
  },
  "oklch": {
    "l": 0.95321,
    "c": 0.08192,
    "h": 101
  },
  "luminance": 0.87228
}

Semantic roles & 50–950 ramp

primary
#FBF2B2
secondary
#7280DF
accent
#1CE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FBF2B2

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

Preview Lab → · Contrast checker → · Palette generator →

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