#F9E966#F9E966
#F9E966 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.2% C 0.151 H 102.4°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).
Color values
| HEX | #F9E966 |
|---|---|
| RGB | rgb(249, 233, 102) |
| HSL | hsl(53, 92%, 69%) |
| HSV | hsv(53, 59%, 98%) |
| CMYK | cmyk(0%, 6.4%, 59%, 2.4%) |
| CIE-LAB | lab(91.41, -10.12, 64.08) |
| CIE-LCH | lch(91.41, 64.88, 98.98°) |
| OKLab | oklab(92.24% -0.0324 0.1475) |
| OKLCH | oklch(92.24% 0.151 102.4) |
| XYZ | xyz(70.6067, 79.3796, 24.1704) |
| Luminance | 0.7938 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.41
Sandy Yellow
#FDEE73
ΔE00 1.46
Dull Yellow
#EEDC5B
ΔE00 2.84
Sand Yellow
#FCE166
ΔE00 3.27
Straw
#FCF679
ΔE00 3.60
Yellow Tan
#FFE36E
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9E966 #6676F9
analogous
#F9A066 #F9E966 #C0F966
triadic
#F9E966 #66F9E9 #E966F9
tetradic
#F9E966 #66F9A0 #6676F9 #F966C0
square
#F9E966 #66F9A0 #6676F9 #F966C0
split-complementary
#F9E966 #66C0F9 #A066F9
monochromatic
#DCC509 #F7E12B #F9E966 #FBF1A1 #FEFADC
Accessibility & contrast
On white
1.24
#F9E966 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.88
#F9E966 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9E966
16.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9E966 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9E966 | 1.00 | 1.24 | 16.88 | 16.88 |
| #FFFFFF | 1.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCE258
Deuteranopia (green-blind)
#FFEA6D
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #f9e966; /* rgb */ color: rgb(249, 233, 102); /* oklch */ color: oklch(92.2% 0.151 102.4);
Tailwind
colors: {
custom: {
50: '#feef96',
500: '#f9e966',
950: '#000000',
},
}SCSS
$custom: #f9e966; $custom-light: #feef96; $custom-dark: #000000;
JSON
{
"hex": "#f9e966",
"rgb": {
"r": 249,
"g": 233,
"b": 102
},
"hsl": {
"h": 53.469,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.92243,
"c": 0.15096,
"h": 102.4
},
"luminance": 0.79377
}Semantic roles & 50–950 ramp
primary
#F9E966
secondary
#3042D3
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F