#D5C259#D5C259
#D5C259 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.127 H 99.2°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #D5C259 |
|---|---|
| RGB | rgb(213, 194, 89) |
| HSL | hsl(51, 60%, 59%) |
| HSV | hsv(51, 58%, 84%) |
| CMYK | cmyk(0%, 8.9%, 58.2%, 16.5%) |
| CIE-LAB | lab(78.14, -6.13, 54.18) |
| CIE-LCH | lch(78.14, 54.52, 96.46°) |
| OKLab | oklab(80.95% -0.0202 0.1255) |
| OKLCH | oklch(80.95% 0.127 99.2) |
| XYZ | xyz(48.5374, 53.4530, 17.2100) |
| Luminance | 0.5345 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.30
Mustard Yellow
#D2BD0A
ΔE00 5.85
Ugly Yellow
#D0C101
ΔE00 6.21
Sandy
#F1DA7A
ΔE00 6.27
Maize
#F4D054
ΔE00 6.33
Olive Yellow
#C2B709
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5C259 #596CD5
analogous
#D58459 #D5C259 #AAD559
triadic
#D5C259 #59D5C2 #C259D5
tetradic
#D5C259 #59D584 #596CD5 #D559AA
square
#D5C259 #59D584 #596CD5 #D559AA
split-complementary
#D5C259 #59AAD5 #8459D5
monochromatic
#8F7F24 #C0AA31 #D5C259 #E1D48A #EEE6BB
Accessibility & contrast
On white
1.80
#D5C259 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#D5C259 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5C259
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5C259 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5C259 | 1.00 | 1.80 | 11.69 | 11.69 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BD4E
Deuteranopia (green-blind)
#D8C45E
Tritanopia (blue-blind)
#E4B5AB
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d5c259; /* rgb */ color: rgb(213, 194, 89); /* oklch */ color: oklch(80.9% 0.127 99.2);
Tailwind
colors: {
custom: {
50: '#e5d48b',
500: '#d5c259',
950: '#000000',
},
}SCSS
$custom: #d5c259; $custom-light: #e5d48b; $custom-dark: #000000;
JSON
{
"hex": "#d5c259",
"rgb": {
"r": 213,
"g": 194,
"b": 89
},
"hsl": {
"h": 50.806,
"s": 59.615,
"l": 59.216
},
"oklch": {
"l": 0.80948,
"c": 0.12709,
"h": 99.2
},
"luminance": 0.53451
}Semantic roles & 50–950 ramp
primary
#D5C259
secondary
#3D4B95
accent
#5DE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F