#FBFB97#FBFB97
#FBFB97 is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.7% C 0.122 H 108.5°. Best body text is #000000 at 19.35:1 contrast (WCAG AA passes).
Color values
| HEX | #FBFB97 |
|---|---|
| RGB | rgb(251, 251, 151) |
| HSL | hsl(60, 93%, 79%) |
| HSV | hsv(60, 40%, 98%) |
| CMYK | cmyk(0%, 0%, 39.8%, 1.6%) |
| CIE-LAB | lab(96.71, -14.01, 47.86) |
| CIE-LCH | lch(96.71, 49.87, 106.32°) |
| OKLab | oklab(96.68% -0.0388 0.1161) |
| OKLCH | oklch(96.68% 0.122 108.5) |
| XYZ | xyz(79.8680, 91.7396, 42.7724) |
| Luminance | 0.9174 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 2.67
Buff
#FEF69E
ΔE00 2.70
Yellowish Tan
#FCFC81
ΔE00 3.09
Pale Yellow
#FFFF84
ΔE00 3.13
Butter
#FFFF81
ΔE00 3.48
Dark Cream
#FFF39A
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBFB97 #9797FB
analogous
#FBC997 #FBFB97 #C9FB97
triadic
#FBFB97 #97FBFB #FB97FB
tetradic
#FBFB97 #97FBC9 #9797FB #FB97C9
square
#FBFB97 #97FBC9 #9797FB #FB97C9
split-complementary
#FBFB97 #97C9FB #C997FB
monochromatic
#F6F621 #F9F95C #FBFB97 #FDFDD2 #FEFEE2
Accessibility & contrast
On white
1.09
#FBFB97 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.35
#FBFB97 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBFB97
19.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBFB97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBFB97 | 1.00 | 1.09 | 19.35 | 19.35 |
| #FFFFFF | 1.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF38F
Deuteranopia (green-blind)
#FFF79B
Tritanopia (blue-blind)
#FFF0E3
Achromatopsia (no color)
#F6F6F6
Design tokens & code
CSS
--color: #fbfb97; /* rgb */ color: rgb(251, 251, 151); /* oklch */ color: oklch(96.7% 0.122 108.5);
Tailwind
colors: {
custom: {
50: '#fefcb7',
500: '#fbfb97',
950: '#000000',
},
}SCSS
$custom: #fbfb97; $custom-light: #fefcb7; $custom-dark: #000000;
JSON
{
"hex": "#fbfb97",
"rgb": {
"r": 251,
"g": 251,
"b": 151
},
"hsl": {
"h": 60,
"s": 92.593,
"l": 78.824
},
"oklch": {
"l": 0.96677,
"c": 0.12245,
"h": 108.5
},
"luminance": 0.91738
}Semantic roles & 50–950 ramp
primary
#FBFB97
secondary
#5A5ADC
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581