#D2CD5C#D2CD5C
#D2CD5C is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.135 H 106.7°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CD5C |
|---|---|
| RGB | rgb(210, 205, 92) |
| HSL | hsl(57, 57%, 59%) |
| HSV | hsv(57, 56%, 82%) |
| CMYK | cmyk(0%, 2.4%, 56.2%, 17.6%) |
| CIE-LAB | lab(80.82, -12.76, 55.77) |
| CIE-LCH | lch(80.82, 57.21, 102.89°) |
| OKLab | oklab(83.02% -0.0387 0.1293) |
| OKLCH | oklch(83.02% 0.135 106.7) |
| XYZ | xyz(50.3429, 58.1385, 18.6931) |
| Luminance | 0.5814 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.40
Dull Yellow
#EEDC5B
ΔE00 5.57
Dirty Yellow
#CDC50A
ΔE00 5.97
Vomit Yellow
#C7C10C
ΔE00 6.08
Puke Yellow
#C2BE0E
ΔE00 6.32
Piss Yellow
#DDD618
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CD5C #5C61D2
analogous
#D2925C #D2CD5C #9CD25C
triadic
#D2CD5C #5CD2CD #CD5CD2
tetradic
#D2CD5C #5CD292 #5C61D2 #D25C9C
square
#D2CD5C #5CD292 #5C61D2 #D25C9C
split-complementary
#D2CD5C #5C9CD2 #925CD2
monochromatic
#8D8827 #BDB734 #D2CD5C #DFDC8C #ECEABC
Accessibility & contrast
On white
1.66
#D2CD5C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.63
#D2CD5C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CD5C
12.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CD5C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CD5C | 1.00 | 1.66 | 12.63 | 12.63 |
| #FFFFFF | 1.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC650
Deuteranopia (green-blind)
#DFCB62
Tritanopia (blue-blind)
#E0C1B4
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #d2cd5c; /* rgb */ color: rgb(210, 205, 92); /* oklch */ color: oklch(83.0% 0.135 106.7);
Tailwind
colors: {
custom: {
50: '#e2dc8e',
500: '#d2cd5c',
950: '#000000',
},
}SCSS
$custom: #d2cd5c; $custom-light: #e2dc8e; $custom-dark: #000000;
JSON
{
"hex": "#d2cd5c",
"rgb": {
"r": 210,
"g": 205,
"b": 92
},
"hsl": {
"h": 57.458,
"s": 56.731,
"l": 59.216
},
"oklch": {
"l": 0.83021,
"c": 0.13495,
"h": 106.7
},
"luminance": 0.58137
}Semantic roles & 50–950 ramp
primary
#D2CD5C
secondary
#3F4393
accent
#4EE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F