#F8E166#F8E166
#F8E166 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.5% C 0.144 H 98.8°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).
Color values
| HEX | #F8E166 |
|---|---|
| RGB | rgb(248, 225, 102) |
| HSL | hsl(51, 91%, 69%) |
| HSV | hsv(51, 59%, 97%) |
| CMYK | cmyk(0%, 9.3%, 58.9%, 2.7%) |
| CIE-LAB | lab(89.28, -6.54, 61.70) |
| CIE-LCH | lch(89.28, 62.05, 96.05°) |
| OKLab | oklab(90.54% -0.0221 0.1424) |
| OKLCH | oklch(90.54% 0.144 98.8) |
| XYZ | xyz(68.0376, 74.7691, 23.4158) |
| Luminance | 0.7477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.06
Yellow Tan
#FFE36E
ΔE00 1.68
Dull Yellow
#EEDC5B
ΔE00 1.98
Pale Gold
#FDDE6C
ΔE00 2.50
Light Gold
#FDDC5C
ΔE00 2.75
Sandy Yellow
#FDEE73
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8E166 #667DF8
analogous
#F89866 #F8E166 #C6F866
triadic
#F8E166 #66F8E1 #E166F8
tetradic
#F8E166 #66F898 #667DF8 #F866C6
square
#F8E166 #66F898 #667DF8 #F866C6
split-complementary
#F8E166 #66C6F8 #9866F8
monochromatic
#DAB90A #F5D62B #F8E166 #FBECA1 #FDF8DB
Accessibility & contrast
On white
1.32
#F8E166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.95
#F8E166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8E166
15.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8E166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8E166 | 1.00 | 1.32 | 15.95 | 15.95 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DC59
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f8e166; /* rgb */ color: rgb(248, 225, 102); /* oklch */ color: oklch(90.5% 0.144 98.8);
Tailwind
colors: {
custom: {
50: '#feea96',
500: '#f8e166',
950: '#000000',
},
}SCSS
$custom: #f8e166; $custom-light: #feea96; $custom-dark: #000000;
JSON
{
"hex": "#f8e166",
"rgb": {
"r": 248,
"g": 225,
"b": 102
},
"hsl": {
"h": 50.548,
"s": 91.25,
"l": 68.627
},
"oklch": {
"l": 0.90541,
"c": 0.14408,
"h": 98.8
},
"luminance": 0.74766
}Semantic roles & 50–950 ramp
primary
#F8E166
secondary
#314AD2
accent
#24E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F