#D5C855#D5C855
#D5C855 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.2% C 0.136 H 102.9°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #D5C855 |
|---|---|
| RGB | rgb(213, 200, 85) |
| HSL | hsl(54, 60%, 58%) |
| HSV | hsv(54, 60%, 84%) |
| CMYK | cmyk(0%, 6.1%, 60.1%, 16.5%) |
| CIE-LAB | lab(79.68, -9.49, 57.68) |
| CIE-LCH | lch(79.68, 58.46, 99.34°) |
| OKLab | oklab(82.16% -0.0303 0.1325) |
| OKLCH | oklch(82.16% 0.136 102.9) |
| XYZ | xyz(49.7363, 56.1124, 16.8035) |
| Luminance | 0.5611 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 5.20
Dull Yellow
#EEDC5B
ΔE00 5.26
Vomit Yellow
#C7C10C
ΔE00 5.37
Ugly Yellow
#D0C101
ΔE00 5.39
Sand (survey)
#E2CA76
ΔE00 5.63
Mustard Yellow
#D2BD0A
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5C855 #5562D5
analogous
#D58855 #D5C855 #A2D555
triadic
#D5C855 #55D5C8 #C855D5
tetradic
#D5C855 #55D588 #5562D5 #D555A2
square
#D5C855 #55D588 #5562D5 #D555A2
split-complementary
#D5C855 #55A2D5 #8855D5
monochromatic
#8D8223 #BEAF2F #D5C855 #E1D886 #EDE8B7
Accessibility & contrast
On white
1.72
#D5C855 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.22
#D5C855 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5C855
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5C855 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5C855 | 1.00 | 1.72 | 12.22 | 12.22 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C248
Deuteranopia (green-blind)
#DDC85B
Tritanopia (blue-blind)
#E4BBAF
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #d5c855; /* rgb */ color: rgb(213, 200, 85); /* oklch */ color: oklch(82.2% 0.136 102.9);
Tailwind
colors: {
custom: {
50: '#e5d889',
500: '#d5c855',
950: '#000000',
},
}SCSS
$custom: #d5c855; $custom-light: #e5d889; $custom-dark: #000000;
JSON
{
"hex": "#d5c855",
"rgb": {
"r": 213,
"g": 200,
"b": 85
},
"hsl": {
"h": 53.906,
"s": 60.377,
"l": 58.431
},
"oklch": {
"l": 0.82155,
"c": 0.13587,
"h": 102.9
},
"luminance": 0.56111
}Semantic roles & 50–950 ramp
primary
#D5C855
secondary
#3C4493
accent
#54E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F