#F8E176#F8E176
#F8E176 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.7% C 0.130 H 97.4°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F8E176 |
|---|---|
| RGB | rgb(248, 225, 118) |
| HSL | hsl(49, 90%, 72%) |
| HSV | hsv(49, 52%, 97%) |
| CMYK | cmyk(0%, 9.3%, 52.4%, 2.7%) |
| CIE-LAB | lab(89.45, -5.34, 54.62) |
| CIE-LCH | lch(89.45, 54.88, 95.59°) |
| OKLab | oklab(90.72% -0.0168 0.1288) |
| OKLCH | oklch(90.72% 0.13 97.4) |
| XYZ | xyz(68.9090, 75.1177, 28.0054) |
| Luminance | 0.7511 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 1.83
Sandy
#F1DA7A
ΔE00 2.12
Sand Yellow
#FCE166
ΔE00 2.18
Pale Gold
#FDDE6C
ΔE00 2.28
Wheat (survey)
#FBDD7E
ΔE00 2.81
Dull Yellow
#EEDC5B
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8E176 #768DF8
analogous
#F8A076 #F8E176 #CEF876
triadic
#F8E176 #76F8E1 #E176F8
tetradic
#F8E176 #76F8A0 #768DF8 #F876CE
square
#F8E176 #76F8A0 #768DF8 #F876CE
split-complementary
#F8E176 #76CEF8 #A076F8
monochromatic
#E8C10C #F5D43C #F8E176 #FBEEB0 #FEF9E2
Accessibility & contrast
On white
1.31
#F8E176 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.02
#F8E176 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8E176
16.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8E176 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8E176 | 1.00 | 1.31 | 16.02 | 16.02 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DC6C
Deuteranopia (green-blind)
#F9E47B
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f8e176; /* rgb */ color: rgb(248, 225, 118); /* oklch */ color: oklch(90.7% 0.130 97.4);
Tailwind
colors: {
custom: {
50: '#fdeaa0',
500: '#f8e176',
950: '#000000',
},
}SCSS
$custom: #f8e176; $custom-light: #fdeaa0; $custom-dark: #000000;
JSON
{
"hex": "#f8e176",
"rgb": {
"r": 248,
"g": 225,
"b": 118
},
"hsl": {
"h": 49.385,
"s": 90.278,
"l": 71.765
},
"oklch": {
"l": 0.90723,
"c": 0.1299,
"h": 97.4
},
"luminance": 0.75115
}Semantic roles & 50–950 ramp
primary
#F8E176
secondary
#3F59D4
accent
#29E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480