#FBFB96#FBFB96

#FBFB96 is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.7% C 0.124 H 108.5°. Best body text is #000000 at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#FBFB96
RGBrgb(251, 251, 150)
HSLhsl(60, 93%, 79%)
HSVhsv(60, 40%, 98%)
CMYKcmyk(0%, 0%, 40.2%, 1.6%)
CIE-LABlab(96.70, -14.11, 48.32)
CIE-LCHlch(96.70, 50.34, 106.28°)
OKLaboklab(96.66% -0.0392 0.1171)
OKLCHoklch(96.66% 0.124 108.5)
XYZxyz(79.7871, 91.7073, 42.3465)
Luminance0.9171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFB96 #9696FB
analogous
#FBC896 #FBFB96 #C8FB96
triadic
#FBFB96 #96FBFB #FB96FB
tetradic
#FBFB96 #96FBC8 #9696FB #FB96C8
square
#FBFB96 #96FBC8 #9696FB #FB96C8
split-complementary
#FBFB96 #96C8FB #C896FB
monochromatic
#F7F720 #F9F95B #FBFB96 #FDFDD1 #FEFEE2

Accessibility & contrast

On white

1.09
#FBFB96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.34
#FBFB96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFB96
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFB96#FFFFFF#000000##000000
##FBFB961.001.0919.3419.34
#FFFFFF1.091.0021.0021.00
#00000019.3421.001.001.00
##00000019.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF38E
Deuteranopia (green-blind)
#FFF79B
Tritanopia (blue-blind)
#FFF0E2
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fbfb96;
/* rgb */ color: rgb(251, 251, 150);
/* oklch */ color: oklch(96.7% 0.124 108.5);
Tailwind
colors: {
  custom: {
    50: '#fefcb6',
    500: '#fbfb96',
    950: '#000000',
  },
}
SCSS
$custom: #fbfb96;
$custom-light: #fefcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfb96",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 150
  },
  "hsl": {
    "h": 60,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.96662,
    "c": 0.12351,
    "h": 108.5
  },
  "luminance": 0.91706
}

Semantic roles & 50–950 ramp

primary
#FBFB96
secondary
#5959DC
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBFB96

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

Preview Lab → · Contrast checker → · Palette generator →

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