#D9C059#D9C059
#D9C059 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.126 H 95.8°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C059 |
|---|---|
| RGB | rgb(217, 192, 89) |
| HSL | hsl(48, 63%, 60%) |
| HSV | hsv(48, 59%, 85%) |
| CMYK | cmyk(0%, 11.5%, 59%, 14.9%) |
| CIE-LAB | lab(77.98, -3.42, 54.09) |
| CIE-LCH | lch(77.98, 54.20, 93.62°) |
| OKLab | oklab(80.9% -0.0127 0.1252) |
| OKLCH | oklch(80.9% 0.126 95.8) |
| XYZ | xyz(49.2701, 53.1745, 17.1177) |
| Luminance | 0.5317 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.88
Mustard
#DBB42C
ΔE00 5.53
Maize
#F4D054
ΔE00 5.56
Light Mustard
#F7D560
ΔE00 6.02
Dark Yellow
#D5B60A
ΔE00 6.04
Mustard Yellow
#D2BD0A
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C059 #5972D9
analogous
#D98059 #D9C059 #B2D959
triadic
#D9C059 #59D9C0 #C059D9
tetradic
#D9C059 #59D980 #5972D9 #D959B2
square
#D9C059 #59D980 #5972D9 #D959B2
split-complementary
#D9C059 #59B2D9 #8059D9
monochromatic
#957F22 #C7A92E #D9C059 #E4D38B #F0E6BD
Accessibility & contrast
On white
1.80
#D9C059 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.63
#D9C059 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C059
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C059 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C059 | 1.00 | 1.80 | 11.63 | 11.63 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC4E
Deuteranopia (green-blind)
#D8C45E
Tritanopia (blue-blind)
#E9B3A9
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d9c059; /* rgb */ color: rgb(217, 192, 89); /* oklch */ color: oklch(80.9% 0.126 95.8);
Tailwind
colors: {
custom: {
50: '#e8d28b',
500: '#d9c059',
950: '#000000',
},
}SCSS
$custom: #d9c059; $custom-light: #e8d28b; $custom-dark: #000000;
JSON
{
"hex": "#d9c059",
"rgb": {
"r": 217,
"g": 192,
"b": 89
},
"hsl": {
"h": 48.281,
"s": 62.745,
"l": 60
},
"oklch": {
"l": 0.80903,
"c": 0.12583,
"h": 95.8
},
"luminance": 0.53172
}Semantic roles & 50–950 ramp
primary
#D9C059
secondary
#3C4E9A
accent
#62E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F