#D9C459#D9C459
#D9C459 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.129 H 98.3°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C459 |
|---|---|
| RGB | rgb(217, 196, 89) |
| HSL | hsl(50, 63%, 60%) |
| HSV | hsv(50, 59%, 85%) |
| CMYK | cmyk(0%, 9.7%, 59%, 14.9%) |
| CIE-LAB | lab(79.02, -5.49, 55.26) |
| CIE-LCH | lch(79.02, 55.53, 95.67°) |
| OKLab | oklab(81.72% -0.0186 0.1277) |
| OKLCH | oklch(81.72% 0.129 98.3) |
| XYZ | xyz(50.1603, 54.9550, 17.4145) |
| Luminance | 0.5495 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.03
Maize
#F4D054
ΔE00 5.50
Sandy
#F1DA7A
ΔE00 5.70
Mustard Yellow
#D2BD0A
ΔE00 5.75
Light Mustard
#F7D560
ΔE00 5.78
Dull Yellow
#EEDC5B
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C459 #596ED9
analogous
#D98459 #D9C459 #AED959
triadic
#D9C459 #59D9C4 #C459D9
tetradic
#D9C459 #59D984 #596ED9 #D959AE
square
#D9C459 #59D984 #596ED9 #D959AE
split-complementary
#D9C459 #59AED9 #8459D9
monochromatic
#958222 #C7AE2E #D9C459 #E4D68B #F0E7BD
Accessibility & contrast
On white
1.75
#D9C459 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.99
#D9C459 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C459
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C459 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C459 | 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)
#D5BF4E
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#E9B7AD
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d9c459; /* rgb */ color: rgb(217, 196, 89); /* oklch */ color: oklch(81.7% 0.129 98.3);
Tailwind
colors: {
custom: {
50: '#e8d58c',
500: '#d9c459',
950: '#000000',
},
}SCSS
$custom: #d9c459; $custom-light: #e8d58c; $custom-dark: #000000;
JSON
{
"hex": "#d9c459",
"rgb": {
"r": 217,
"g": 196,
"b": 89
},
"hsl": {
"h": 50.156,
"s": 62.745,
"l": 60
},
"oklch": {
"l": 0.81724,
"c": 0.12904,
"h": 98.3
},
"luminance": 0.54953
}Semantic roles & 50–950 ramp
primary
#D9C459
secondary
#3C4B9A
accent
#5DE642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F