#D5C059#D5C059
#D5C059 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.125 H 97.9°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #D5C059 |
|---|---|
| RGB | rgb(213, 192, 89) |
| HSL | hsl(50, 60%, 59%) |
| HSV | hsv(50, 58%, 84%) |
| CMYK | cmyk(0%, 9.9%, 58.2%, 16.5%) |
| CIE-LAB | lab(77.62, -5.10, 53.59) |
| CIE-LCH | lch(77.62, 53.83, 95.43°) |
| OKLab | oklab(80.53% -0.0173 0.1242) |
| OKLCH | oklch(80.53% 0.125 97.9) |
| XYZ | xyz(48.0952, 52.5688, 17.0627) |
| Luminance | 0.5257 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.17
Mustard Yellow
#D2BD0A
ΔE00 5.97
Mustard
#DBB42C
ΔE00 6.27
Maize
#F4D054
ΔE00 6.31
Dark Yellow
#D5B60A
ΔE00 6.35
Ugly Yellow
#D0C101
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5C059 #596ED5
analogous
#D58259 #D5C059 #ACD559
triadic
#D5C059 #59D5C0 #C059D5
tetradic
#D5C059 #59D582 #596ED5 #D559AC
square
#D5C059 #59D582 #596ED5 #D559AC
split-complementary
#D5C059 #59ACD5 #8259D5
monochromatic
#8F7D24 #C0A831 #D5C059 #E1D38A #EEE5BB
Accessibility & contrast
On white
1.82
#D5C059 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.51
#D5C059 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5C059
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5C059 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5C059 | 1.00 | 1.82 | 11.51 | 11.51 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC4E
Deuteranopia (green-blind)
#D6C35E
Tritanopia (blue-blind)
#E4B3A9
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d5c059; /* rgb */ color: rgb(213, 192, 89); /* oklch */ color: oklch(80.5% 0.125 97.9);
Tailwind
colors: {
custom: {
50: '#e5d28b',
500: '#d5c059',
950: '#000000',
},
}SCSS
$custom: #d5c059; $custom-light: #e5d28b; $custom-dark: #000000;
JSON
{
"hex": "#d5c059",
"rgb": {
"r": 213,
"g": 192,
"b": 89
},
"hsl": {
"h": 49.839,
"s": 59.615,
"l": 59.216
},
"oklch": {
"l": 0.80534,
"c": 0.12539,
"h": 97.9
},
"luminance": 0.52567
}Semantic roles & 50–950 ramp
primary
#D5C059
secondary
#3D4C95
accent
#60E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F