#F9E671#F9E671
#F9E671 is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.8% C 0.139 H 100.2°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).
Color values
| HEX | #F9E671 |
|---|---|
| RGB | rgb(249, 230, 113) |
| HSL | hsl(52, 92%, 71%) |
| HSV | hsv(52, 55%, 98%) |
| CMYK | cmyk(0%, 7.6%, 54.6%, 2.4%) |
| CIE-LAB | lab(90.75, -7.84, 58.47) |
| CIE-LCH | lch(90.75, 58.99, 97.64°) |
| OKLab | oklab(91.76% -0.0246 0.1367) |
| OKLCH | oklch(91.76% 0.139 100.2) |
| XYZ | xyz(70.3468, 77.9283, 26.9557) |
| Luminance | 0.7793 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.97
Sand Yellow
#FCE166
ΔE00 2.35
Yellow Tan
#FFE36E
ΔE00 2.40
Dull Yellow
#EEDC5B
ΔE00 2.74
Yellowish
#FAEE66
ΔE00 3.04
Pale Gold
#FDDE6C
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9E671 #7184F9
analogous
#F9A271 #F9E671 #C8F971
triadic
#F9E671 #71F9E6 #E671F9
tetradic
#F9E671 #71F9A2 #7184F9 #F971C8
square
#F9E671 #71F9A2 #7184F9 #F971C8
split-complementary
#F9E671 #71C8F9 #A271F9
monochromatic
#E6C70A #F7DC36 #F9E671 #FBF0AC #FEFAE2
Accessibility & contrast
On white
1.27
#F9E671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.59
#F9E671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9E671
16.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9E671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9E671 | 1.00 | 1.27 | 16.59 | 16.59 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E066
Deuteranopia (green-blind)
#FEE876
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #f9e671; /* rgb */ color: rgb(249, 230, 113); /* oklch */ color: oklch(91.8% 0.139 100.2);
Tailwind
colors: {
custom: {
50: '#feed9d',
500: '#f9e671',
950: '#000000',
},
}SCSS
$custom: #f9e671; $custom-light: #feed9d; $custom-dark: #000000;
JSON
{
"hex": "#f9e671",
"rgb": {
"r": 249,
"g": 230,
"b": 113
},
"hsl": {
"h": 51.618,
"s": 91.892,
"l": 70.98
},
"oklch": {
"l": 0.91755,
"c": 0.13886,
"h": 100.2
},
"luminance": 0.77926
}Semantic roles & 50–950 ramp
primary
#F9E671
secondary
#3A50D4
accent
#20E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F