#FBFBB2#FBFBB2

#FBFBB2 is a very light, moderate yellow. Relative luminance 0.927; OKLCH L 97.1% C 0.092 H 108.0°. Best body text is #000000 at 19.54:1 contrast (WCAG AA passes).

Color values

HEX#FBFBB2
RGBrgb(251, 251, 178)
HSLhsl(60, 90%, 84%)
HSVhsv(60, 29%, 98%)
CMYKcmyk(0%, 0%, 29.1%, 1.6%)
CIE-LABlab(97.11, -10.96, 35.10)
CIE-LCHlch(97.11, 36.77, 107.34°)
OKLaboklab(97.13% -0.0285 0.0876)
OKLCHoklch(97.13% 0.092 108)
XYZxyz(82.3171, 92.7193, 55.6711)
Luminance0.9272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFBB2 #B2B2FB
analogous
#FBD7B2 #FBFBB2 #D7FBB2
triadic
#FBFBB2 #B2FBFB #FBB2FB
tetradic
#FBFBB2 #B2FBD7 #B2B2FB #FBB2D7
square
#FBFBB2 #B2FBD7 #B2B2FB #FBB2D7
split-complementary
#FBFBB2 #B2D7FB #D7B2FB
monochromatic
#F5F53E #F8F878 #FBFBB2 #FDFDE2 #FDFDE2

Accessibility & contrast

On white

1.07
#FBFBB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.54
#FBFBB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFBB2
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFBB2#FFFFFF#000000##000000
##FBFBB21.001.0719.5419.54
#FFFFFF1.071.0021.0021.00
#00000019.5421.001.001.00
##00000019.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5AD
Deuteranopia (green-blind)
#FFF8B5
Tritanopia (blue-blind)
#FFF2E8
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fbfbb2;
/* rgb */ color: rgb(251, 251, 178);
/* oklch */ color: oklch(97.1% 0.092 108.0);
Tailwind
colors: {
  custom: {
    50: '#fdfcc9',
    500: '#fbfbb2',
    950: '#000000',
  },
}
SCSS
$custom: #fbfbb2;
$custom-light: #fdfcc9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfbb2",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 178
  },
  "hsl": {
    "h": 60,
    "s": 90.123,
    "l": 84.118
  },
  "oklch": {
    "l": 0.97125,
    "c": 0.09215,
    "h": 108
  },
  "luminance": 0.92718
}

Semantic roles & 50–950 ramp

primary
#FBFBB2
secondary
#7272DF
accent
#00E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FBFBB2

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

Preview Lab → · Contrast checker → · Palette generator →

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