#F9D858#F9D858
#F9D858 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.7% C 0.148 H 94.7°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).
Color values
| HEX | #F9D858 |
|---|---|
| RGB | rgb(249, 216, 88) |
| HSL | hsl(48, 93%, 66%) |
| HSV | hsv(48, 65%, 98%) |
| CMYK | cmyk(0%, 13.3%, 64.7%, 2.4%) |
| CIE-LAB | lab(86.98, -2.48, 65.22) |
| CIE-LCH | lch(86.98, 65.27, 92.17°) |
| OKLab | oklab(88.7% -0.012 0.1479) |
| OKLCH | oklch(88.7% 0.148 94.7) |
| XYZ | xyz(65.3873, 69.9594, 19.2900) |
| Luminance | 0.6996 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 0.90
Light Mustard
#F7D560
ΔE00 1.45
Maize
#F4D054
ΔE00 1.98
Pale Gold
#FDDE6C
ΔE00 2.14
Sand Yellow
#FCE166
ΔE00 2.45
Yellow Tan
#FFE36E
ΔE00 2.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9D858 #5879F9
analogous
#F98758 #F9D858 #C9F958
triadic
#F9D858 #58F9D8 #D858F9
tetradic
#F9D858 #58F987 #5879F9 #F958C9
square
#F9D858 #58F987 #5879F9 #F958C9
split-complementary
#F9D858 #58C9F9 #8758F9
monochromatic
#CFA607 #F7CA1D #F9D858 #FBE693 #FDF4CE
Accessibility & contrast
On white
1.40
#F9D858 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.99
#F9D858 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9D858
14.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9D858 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9D858 | 1.00 | 1.40 | 14.99 | 14.99 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD449
Deuteranopia (green-blind)
#F5DE5E
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f9d858; /* rgb */ color: rgb(249, 216, 88); /* oklch */ color: oklch(88.7% 0.148 94.7);
Tailwind
colors: {
custom: {
50: '#ffe38d',
500: '#f9d858',
950: '#000000',
},
}SCSS
$custom: #f9d858; $custom-light: #ffe38d; $custom-dark: #000000;
JSON
{
"hex": "#f9d858",
"rgb": {
"r": 249,
"g": 216,
"b": 88
},
"hsl": {
"h": 47.702,
"s": 93.064,
"l": 66.078
},
"oklch": {
"l": 0.88696,
"c": 0.14842,
"h": 94.7
},
"luminance": 0.69956
}Semantic roles & 50–950 ramp
primary
#F9D858
secondary
#2B4BCA
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F