#F9D866#F9D866
#F9D866 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.137 H 93.3°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).
Color values
| HEX | #F9D866 |
|---|---|
| RGB | rgb(249, 216, 102) |
| HSL | hsl(47, 92%, 69%) |
| HSV | hsv(47, 59%, 98%) |
| CMYK | cmyk(0%, 13.3%, 59%, 2.4%) |
| CIE-LAB | lab(87.10, -1.59, 59.27) |
| CIE-LCH | lch(87.10, 59.29, 91.53°) |
| OKLab | oklab(88.83% -0.0079 0.1372) |
| OKLCH | oklch(88.83% 0.137 93.3) |
| XYZ | xyz(66.0239, 70.2141, 22.6428) |
| Luminance | 0.7021 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.79
Pale Gold
#FDDE6C
ΔE00 1.39
Light Gold
#FDDC5C
ΔE00 1.83
Maize
#F4D054
ΔE00 2.22
Yellow Tan
#FFE36E
ΔE00 2.68
Sand Yellow
#FCE166
ΔE00 2.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9D866 #6687F9
analogous
#F98F66 #F9D866 #D0F966
triadic
#F9D866 #66F9D8 #D866F9
tetradic
#F9D866 #66F98F #6687F9 #F966D0
square
#F9D866 #66F98F #6687F9 #F966D0
split-complementary
#F9D866 #66D0F9 #8F66F9
monochromatic
#DCAD09 #F7C92B #F9D866 #FBE7A1 #FEF6DC
Accessibility & contrast
On white
1.40
#F9D866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.04
#F9D866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9D866
15.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9D866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9D866 | 1.00 | 1.40 | 15.04 | 15.04 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD45A
Deuteranopia (green-blind)
#F4DE6B
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f9d866; /* rgb */ color: rgb(249, 216, 102); /* oklch */ color: oklch(88.8% 0.137 93.3);
Tailwind
colors: {
custom: {
50: '#fee395',
500: '#f9d866',
950: '#000000',
},
}SCSS
$custom: #f9d866; $custom-light: #fee395; $custom-dark: #000000;
JSON
{
"hex": "#f9d866",
"rgb": {
"r": 249,
"g": 216,
"b": 102
},
"hsl": {
"h": 46.531,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.88834,
"c": 0.13739,
"h": 93.3
},
"luminance": 0.70211
}Semantic roles & 50–950 ramp
primary
#F9D866
secondary
#3055D3
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F