#D2CD4D#D2CD4D
#D2CD4D is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.147 H 107.1°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CD4D |
|---|---|
| RGB | rgb(210, 205, 77) |
| HSL | hsl(58, 60%, 56%) |
| HSV | hsv(58, 63%, 82%) |
| CMYK | cmyk(0%, 2.4%, 63.3%, 17.6%) |
| CIE-LAB | lab(80.68, -13.79, 62.10) |
| CIE-LCH | lch(80.68, 63.61, 102.52°) |
| OKLab | oklab(82.87% -0.0432 0.1408) |
| OKLCH | oklch(82.87% 0.147 107.1) |
| XYZ | xyz(49.7509, 57.9017, 15.5752) |
| Luminance | 0.5790 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 4.40
Vomit Yellow
#C7C10C
ΔE00 4.66
Piss Yellow
#DDD618
ΔE00 4.96
Puke Yellow
#C2BE0E
ΔE00 5.05
Dull Yellow
#EEDC5B
ΔE00 5.22
Ugly Yellow
#D0C101
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CD4D #4D52D2
analogous
#D28B4D #D2CD4D #95D24D
triadic
#D2CD4D #4DD2CD #CD4DD2
tetradic
#D2CD4D #4DD28B #4D52D2 #D24D95
square
#D2CD4D #4DD28B #4D52D2 #D24D95
split-complementary
#D2CD4D #4D95D2 #8B4DD2
monochromatic
#838021 #B4AF2E #D2CD4D #DEDB7E #EBE8AF
Accessibility & contrast
On white
1.67
#D2CD4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.58
#D2CD4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CD4D
12.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CD4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CD4D | 1.00 | 1.67 | 12.58 | 12.58 |
| #FFFFFF | 1.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC53D
Deuteranopia (green-blind)
#E0CB55
Tritanopia (blue-blind)
#E0C0B2
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #d2cd4d; /* rgb */ color: rgb(210, 205, 77); /* oklch */ color: oklch(82.9% 0.147 107.1);
Tailwind
colors: {
custom: {
50: '#e3dc85',
500: '#d2cd4d',
950: '#000000',
},
}SCSS
$custom: #d2cd4d; $custom-light: #e3dc85; $custom-dark: #000000;
JSON
{
"hex": "#d2cd4d",
"rgb": {
"r": 210,
"g": 205,
"b": 77
},
"hsl": {
"h": 57.744,
"s": 59.641,
"l": 56.275
},
"oklch": {
"l": 0.82873,
"c": 0.14724,
"h": 107.1
},
"luminance": 0.579
}Semantic roles & 50–950 ramp
primary
#D2CD4D
secondary
#393C8A
accent
#4BE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E