#F9E476#F9E476
#F9E476 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.4% C 0.133 H 98.7°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).
Color values
| HEX | #F9E476 |
|---|---|
| RGB | rgb(249, 228, 118) |
| HSL | hsl(50, 92%, 72%) |
| HSV | hsv(50, 53%, 98%) |
| CMYK | cmyk(0%, 8.4%, 52.6%, 2.4%) |
| CIE-LAB | lab(90.29, -6.45, 55.64) |
| CIE-LCH | lch(90.29, 56.01, 96.61°) |
| OKLab | oklab(91.41% -0.0201 0.131) |
| OKLCH | oklch(91.41% 0.133 98.7) |
| XYZ | xyz(70.0827, 76.9373, 28.2948) |
| Luminance | 0.7693 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 1.99
Sand Yellow
#FCE166
ΔE00 2.24
Pale Gold
#FDDE6C
ΔE00 2.86
Sandy
#F1DA7A
ΔE00 2.88
Sandy Yellow
#FDEE73
ΔE00 2.90
Dull Yellow
#EEDC5B
ΔE00 3.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9E476 #768BF9
analogous
#F9A376 #F9E476 #CCF976
triadic
#F9E476 #76F9E4 #E476F9
tetradic
#F9E476 #76F9A3 #768BF9 #F976CC
square
#F9E476 #76F9A3 #768BF9 #F976CC
split-complementary
#F9E476 #76CCF9 #A376F9
monochromatic
#EAC60A #F6D83B #F9E476 #FCF0B1 #FEF9E2
Accessibility & contrast
On white
1.28
#F9E476 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.39
#F9E476 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9E476
16.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9E476 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9E476 | 1.00 | 1.28 | 16.39 | 16.39 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DF6C
Deuteranopia (green-blind)
#FCE77B
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f9e476; /* rgb */ color: rgb(249, 228, 118); /* oklch */ color: oklch(91.4% 0.133 98.7);
Tailwind
colors: {
custom: {
50: '#feeca0',
500: '#f9e476',
950: '#000000',
},
}SCSS
$custom: #f9e476; $custom-light: #feeca0; $custom-dark: #000000;
JSON
{
"hex": "#f9e476",
"rgb": {
"r": 249,
"g": 228,
"b": 118
},
"hsl": {
"h": 50.382,
"s": 91.608,
"l": 71.961
},
"oklch": {
"l": 0.91412,
"c": 0.13255,
"h": 98.7
},
"luminance": 0.76935
}Semantic roles & 50–950 ramp
primary
#F9E476
secondary
#3E56D5
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480