#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 |
|---|---|
| RGB | rgb(251, 251, 150) |
| HSL | hsl(60, 93%, 79%) |
| HSV | hsv(60, 40%, 98%) |
| CMYK | cmyk(0%, 0%, 40.2%, 1.6%) |
| CIE-LAB | lab(96.70, -14.11, 48.32) |
| CIE-LCH | lch(96.70, 50.34, 106.28°) |
| OKLab | oklab(96.66% -0.0392 0.1171) |
| OKLCH | oklch(96.66% 0.124 108.5) |
| XYZ | xyz(79.7871, 91.7073, 42.3465) |
| Luminance | 0.9171 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 2.54
Buff
#FEF69E
ΔE00 2.79
Yellowish Tan
#FCFC81
ΔE00 2.94
Pale Yellow
#FFFF84
ΔE00 2.99
Butter
#FFFF81
ΔE00 3.34
Faded Yellow
#FEFF7F
ΔE00 3.54
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 |
|---|---|---|---|---|
| ##FBFB96 | 1.00 | 1.09 | 19.34 | 19.34 |
| #FFFFFF | 1.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.34 | 21.00 | 1.00 | 1.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