#F9E166#F9E166
#F9E166 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.6% C 0.144 H 98.4°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).
Color values
| HEX | #F9E166 |
|---|---|
| RGB | rgb(249, 225, 102) |
| HSL | hsl(50, 92%, 69%) |
| HSV | hsv(50, 59%, 98%) |
| CMYK | cmyk(0%, 9.6%, 59%, 2.4%) |
| CIE-LAB | lab(89.37, -6.13, 61.82) |
| CIE-LCH | lch(89.37, 62.12, 95.67°) |
| OKLab | oklab(90.63% -0.0209 0.1426) |
| OKLCH | oklch(90.63% 0.144 98.4) |
| XYZ | xyz(68.3931, 74.9524, 23.4325) |
| Luminance | 0.7495 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 0.79
Yellow Tan
#FFE36E
ΔE00 1.46
Dull Yellow
#EEDC5B
ΔE00 2.18
Pale Gold
#FDDE6C
ΔE00 2.28
Light Gold
#FDDC5C
ΔE00 2.52
Sandy Yellow
#FDEE73
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9E166 #667EF9
analogous
#F99866 #F9E166 #C8F966
triadic
#F9E166 #66F9E1 #E166F9
tetradic
#F9E166 #66F998 #667EF9 #F966C8
square
#F9E166 #66F998 #667EF9 #F966C8
split-complementary
#F9E166 #66C8F9 #9866F9
monochromatic
#DCB909 #F7D52B #F9E166 #FBEDA1 #FEF8DC
Accessibility & contrast
On white
1.31
#F9E166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.99
#F9E166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9E166
15.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9E166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9E166 | 1.00 | 1.31 | 15.99 | 15.99 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DC59
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f9e166; /* rgb */ color: rgb(249, 225, 102); /* oklch */ color: oklch(90.6% 0.144 98.4);
Tailwind
colors: {
custom: {
50: '#feea96',
500: '#f9e166',
950: '#000000',
},
}SCSS
$custom: #f9e166; $custom-light: #feea96; $custom-dark: #000000;
JSON
{
"hex": "#f9e166",
"rgb": {
"r": 249,
"g": 225,
"b": 102
},
"hsl": {
"h": 50.204,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.90629,
"c": 0.14415,
"h": 98.4
},
"luminance": 0.74949
}Semantic roles & 50–950 ramp
primary
#F9E166
secondary
#304BD3
accent
#25E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F