#D5C459#D5C459
#D5C459 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.129 H 100.4°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #D5C459 |
|---|---|
| RGB | rgb(213, 196, 89) |
| HSL | hsl(52, 60%, 59%) |
| HSV | hsv(52, 58%, 84%) |
| CMYK | cmyk(0%, 8%, 58.2%, 16.5%) |
| CIE-LAB | lab(78.66, -7.16, 54.77) |
| CIE-LCH | lch(78.66, 55.23, 97.45°) |
| OKLab | oklab(81.36% -0.0232 0.1267) |
| OKLCH | oklch(81.36% 0.129 100.4) |
| XYZ | xyz(48.9855, 54.3492, 17.3594) |
| Luminance | 0.5435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.54
Mustard Yellow
#D2BD0A
ΔE00 5.84
Ugly Yellow
#D0C101
ΔE00 5.99
Sandy
#F1DA7A
ΔE00 6.08
Dull Yellow
#EEDC5B
ΔE00 6.16
Dirty Yellow
#CDC50A
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5C459 #596AD5
analogous
#D58659 #D5C459 #A8D559
triadic
#D5C459 #59D5C4 #C459D5
tetradic
#D5C459 #59D586 #596AD5 #D559A8
square
#D5C459 #59D586 #596AD5 #D559A8
split-complementary
#D5C459 #59A8D5 #8659D5
monochromatic
#8F8124 #C0AC31 #D5C459 #E1D58A #EEE7BB
Accessibility & contrast
On white
1.77
#D5C459 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.87
#D5C459 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5C459
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5C459 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5C459 | 1.00 | 1.77 | 11.87 | 11.87 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BF4E
Deuteranopia (green-blind)
#D9C65E
Tritanopia (blue-blind)
#E4B7AC
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d5c459; /* rgb */ color: rgb(213, 196, 89); /* oklch */ color: oklch(81.4% 0.129 100.4);
Tailwind
colors: {
custom: {
50: '#e5d58b',
500: '#d5c459',
950: '#000000',
},
}SCSS
$custom: #d5c459; $custom-light: #e5d58b; $custom-dark: #000000;
JSON
{
"hex": "#d5c459",
"rgb": {
"r": 213,
"g": 196,
"b": 89
},
"hsl": {
"h": 51.774,
"s": 59.615,
"l": 59.216
},
"oklch": {
"l": 0.81363,
"c": 0.12883,
"h": 100.4
},
"luminance": 0.54347
}Semantic roles & 50–950 ramp
primary
#D5C459
secondary
#3D4995
accent
#5BE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F