#F9D873#F9D873
#F9D873 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 89.0% C 0.126 H 91.6°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F9D873 |
|---|---|
| RGB | rgb(249, 216, 115) |
| HSL | hsl(45, 92%, 71%) |
| HSV | hsv(45, 54%, 98%) |
| CMYK | cmyk(0%, 13.3%, 53.8%, 2.4%) |
| CIE-LAB | lab(87.24, -0.62, 53.43) |
| CIE-LCH | lch(87.24, 53.43, 90.67°) |
| OKLab | oklab(88.99% -0.0036 0.1259) |
| OKLCH | oklch(88.99% 0.126 91.6) |
| XYZ | xyz(66.7199, 70.4925, 26.3084) |
| Luminance | 0.7049 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 1.53
Light Mustard
#F7D560
ΔE00 2.22
Pale Gold
#FDDE6C
ΔE00 2.25
Sandy
#F1DA7A
ΔE00 2.77
Maize
#F4D054
ΔE00 3.44
Yellow Tan
#FFE36E
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9D873 #7394F9
analogous
#F99573 #F9D873 #D7F973
triadic
#F9D873 #73F9D8 #D873F9
tetradic
#F9D873 #73F995 #7394F9 #F973D7
square
#F9D873 #73F995 #7394F9 #F973D7
split-complementary
#F9D873 #73D7F9 #9573F9
monochromatic
#E8B10A #F6C838 #F9D873 #FCE8AE #FEF7E2
Accessibility & contrast
On white
1.39
#F9D873 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.10
#F9D873 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9D873
15.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9D873 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9D873 | 1.00 | 1.39 | 15.10 | 15.10 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD56A
Deuteranopia (green-blind)
#F3DF77
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f9d873; /* rgb */ color: rgb(249, 216, 115); /* oklch */ color: oklch(89.0% 0.126 91.6);
Tailwind
colors: {
custom: {
50: '#fee39e',
500: '#f9d873',
950: '#000000',
},
}SCSS
$custom: #f9d873; $custom-light: #fee39e; $custom-dark: #000000;
JSON
{
"hex": "#f9d873",
"rgb": {
"r": 249,
"g": 216,
"b": 115
},
"hsl": {
"h": 45.224,
"s": 91.781,
"l": 71.373
},
"oklch": {
"l": 0.88986,
"c": 0.12597,
"h": 91.6
},
"luminance": 0.70489
}Semantic roles & 50–950 ramp
primary
#F9D873
secondary
#3C61D4
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F