#D9C458#D9C458
#D9C458 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.7% C 0.130 H 98.4°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C458 |
|---|---|
| RGB | rgb(217, 196, 88) |
| HSL | hsl(50, 63%, 60%) |
| HSV | hsv(50, 59%, 85%) |
| CMYK | cmyk(0%, 9.7%, 59.4%, 14.9%) |
| CIE-LAB | lab(79.01, -5.56, 55.70) |
| CIE-LCH | lch(79.01, 55.98, 95.70°) |
| OKLab | oklab(81.71% -0.019 0.1285) |
| OKLCH | oklch(81.71% 0.13 98.4) |
| XYZ | xyz(50.1186, 54.9383, 17.1948) |
| Luminance | 0.5494 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.14
Maize
#F4D054
ΔE00 5.47
Mustard Yellow
#D2BD0A
ΔE00 5.63
Sandy
#F1DA7A
ΔE00 5.74
Light Mustard
#F7D560
ΔE00 5.77
Dull Yellow
#EEDC5B
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C458 #586DD9
analogous
#D98458 #D9C458 #ADD958
triadic
#D9C458 #58D9C4 #C458D9
tetradic
#D9C458 #58D984 #586DD9 #D958AD
square
#D9C458 #58D984 #586DD9 #D958AD
split-complementary
#D9C458 #58ADD9 #8458D9
monochromatic
#958222 #C7AE2D #D9C458 #E4D68A #F0E7BC
Accessibility & contrast
On white
1.75
#D9C458 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.99
#D9C458 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C458
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C458 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C458 | 1.00 | 1.75 | 11.99 | 11.99 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BF4D
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#E9B7AC
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d9c458; /* rgb */ color: rgb(217, 196, 88); /* oklch */ color: oklch(81.7% 0.130 98.4);
Tailwind
colors: {
custom: {
50: '#e8d58b',
500: '#d9c458',
950: '#000000',
},
}SCSS
$custom: #d9c458; $custom-light: #e8d58b; $custom-dark: #000000;
JSON
{
"hex": "#d9c458",
"rgb": {
"r": 217,
"g": 196,
"b": 88
},
"hsl": {
"h": 50.233,
"s": 62.927,
"l": 59.804
},
"oklch": {
"l": 0.81713,
"c": 0.1299,
"h": 98.4
},
"luminance": 0.54936
}Semantic roles & 50–950 ramp
primary
#D9C458
secondary
#3C4B9A
accent
#5DE642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F