#FBF06C#FBF06C
#FBF06C is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.9% C 0.152 H 104.5°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF06C |
|---|---|
| RGB | rgb(251, 240, 108) |
| HSL | hsl(55, 95%, 70%) |
| HSV | hsv(55, 57%, 98%) |
| CMYK | cmyk(0%, 4.4%, 57%, 1.6%) |
| CIE-LAB | lab(93.41, -12.35, 63.77) |
| CIE-LCH | lch(93.41, 64.96, 100.96°) |
| OKLab | oklab(93.9% -0.0382 0.1475) |
| OKLCH | oklch(93.9% 0.152 104.5) |
| XYZ | xyz(73.6529, 83.9146, 26.5019) |
| Luminance | 0.8391 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 0.67
Sandy Yellow
#FDEE73
ΔE00 1.40
Straw
#FCF679
ΔE00 1.92
Butter Yellow
#FFFD74
ΔE00 3.17
Custard
#FFFD78
ΔE00 3.20
Manilla
#FFFA86
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF06C #6C77FB
analogous
#FBA96C #FBF06C #BEFB6C
triadic
#FBF06C #6CFBF0 #F06CFB
tetradic
#FBF06C #6CFBA9 #6C77FB #FB6CBE
square
#FBF06C #6CFBA9 #6C77FB #FB6CBE
split-complementary
#FBF06C #6CBEFB #A96CFB
monochromatic
#E6D506 #F9EA30 #FBF06C #FDF6A8 #FEFCE1
Accessibility & contrast
On white
1.18
#FBF06C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.78
#FBF06C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF06C
17.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF06C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF06C | 1.00 | 1.18 | 17.78 | 17.78 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE85E
Deuteranopia (green-blind)
#FFEF73
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #fbf06c; /* rgb */ color: rgb(251, 240, 108); /* oklch */ color: oklch(93.9% 0.152 104.5);
Tailwind
colors: {
custom: {
50: '#fff49a',
500: '#fbf06c',
950: '#000000',
},
}SCSS
$custom: #fbf06c; $custom-light: #fff49a; $custom-dark: #000000;
JSON
{
"hex": "#fbf06c",
"rgb": {
"r": 251,
"g": 240,
"b": 108
},
"hsl": {
"h": 55.385,
"s": 94.702,
"l": 70.392
},
"oklch": {
"l": 0.93896,
"c": 0.15233,
"h": 104.5
},
"luminance": 0.83912
}Semantic roles & 50–950 ramp
primary
#FBF06C
secondary
#3542D6
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F