#FBF08C#FBF08C
#FBF08C is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.3% C 0.122 H 102.9°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF08C |
|---|---|
| RGB | rgb(251, 240, 140) |
| HSL | hsl(54, 93%, 77%) |
| HSV | hsv(54, 44%, 98%) |
| CMYK | cmyk(0%, 4.4%, 44.2%, 1.6%) |
| CIE-LAB | lab(93.76, -9.69, 49.47) |
| CIE-LCH | lch(93.76, 50.41, 101.09°) |
| OKLab | oklab(94.29% -0.0274 0.1191) |
| OKLCH | oklch(94.29% 0.122 102.9) |
| XYZ | xyz(75.6791, 84.7251, 37.1729) |
| Luminance | 0.8472 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Cream
#FFF39A
ΔE00 1.88
Buff
#FEF69E
ΔE00 2.41
Khaki (CSS)
#F0E68C
ΔE00 2.56
Manilla
#FFFA86
ΔE00 3.05
Sandy Yellow
#FDEE73
ΔE00 3.26
Straw
#FCF679
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF08C #8C97FB
analogous
#FBB98C #FBF08C #CFFB8C
triadic
#FBF08C #8CFBF0 #F08CFB
tetradic
#FBF08C #8CFBB9 #8C97FB #FB8CCF
square
#FBF08C #8CFBB9 #8C97FB #FB8CCF
split-complementary
#FBF08C #8CCFFB #B98CFB
monochromatic
#F7E116 #F9E851 #FBF08C #FDF8C7 #FEFBE1
Accessibility & contrast
On white
1.17
#FBF08C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.94
#FBF08C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF08C
17.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF08C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF08C | 1.00 | 1.17 | 17.94 | 17.94 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA84
Deuteranopia (green-blind)
#FFF090
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #fbf08c; /* rgb */ color: rgb(251, 240, 140); /* oklch */ color: oklch(94.3% 0.122 102.9);
Tailwind
colors: {
custom: {
50: '#fef4af',
500: '#fbf08c',
950: '#000000',
},
}SCSS
$custom: #fbf08c; $custom-light: #fef4af; $custom-dark: #000000;
JSON
{
"hex": "#fbf08c",
"rgb": {
"r": 251,
"g": 240,
"b": 140
},
"hsl": {
"h": 54.054,
"s": 93.277,
"l": 76.667
},
"oklch": {
"l": 0.94288,
"c": 0.1222,
"h": 102.9
},
"luminance": 0.84723
}Semantic roles & 50–950 ramp
primary
#FBF08C
secondary
#515EDA
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581