#D5C258#D5C258
#D5C258 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.128 H 99.2°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #D5C258 |
|---|---|
| RGB | rgb(213, 194, 88) |
| HSL | hsl(51, 60%, 59%) |
| HSV | hsv(51, 59%, 84%) |
| CMYK | cmyk(0%, 8.9%, 58.7%, 16.5%) |
| CIE-LAB | lab(78.13, -6.20, 54.62) |
| CIE-LCH | lch(78.13, 54.97, 96.48°) |
| OKLab | oklab(80.94% -0.0206 0.1263) |
| OKLCH | oklch(80.94% 0.128 99.2) |
| XYZ | xyz(48.4957, 53.4363, 16.9904) |
| Luminance | 0.5343 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.41
Mustard Yellow
#D2BD0A
ΔE00 5.73
Ugly Yellow
#D0C101
ΔE00 6.08
Maize
#F4D054
ΔE00 6.30
Sandy
#F1DA7A
ΔE00 6.30
Olive Yellow
#C2B709
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5C258 #586BD5
analogous
#D58458 #D5C258 #AAD558
triadic
#D5C258 #58D5C2 #C258D5
tetradic
#D5C258 #58D584 #586BD5 #D558AA
square
#D5C258 #58D584 #586BD5 #D558AA
split-complementary
#D5C258 #58AAD5 #8458D5
monochromatic
#8F7E24 #C0AA30 #D5C258 #E1D489 #EEE6BA
Accessibility & contrast
On white
1.80
#D5C258 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#D5C258 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5C258
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5C258 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5C258 | 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)
#D3BD4D
Deuteranopia (green-blind)
#D8C45D
Tritanopia (blue-blind)
#E4B5AB
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d5c258; /* rgb */ color: rgb(213, 194, 88); /* oklch */ color: oklch(80.9% 0.128 99.2);
Tailwind
colors: {
custom: {
50: '#e5d48b',
500: '#d5c258',
950: '#000000',
},
}SCSS
$custom: #d5c258; $custom-light: #e5d48b; $custom-dark: #000000;
JSON
{
"hex": "#d5c258",
"rgb": {
"r": 213,
"g": 194,
"b": 88
},
"hsl": {
"h": 50.88,
"s": 59.809,
"l": 59.02
},
"oklch": {
"l": 0.80937,
"c": 0.12796,
"h": 99.2
},
"luminance": 0.53434
}Semantic roles & 50–950 ramp
primary
#D5C258
secondary
#3D4A94
accent
#5DE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F