#D4CD5D#D4CD5D
#D4CD5D is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.134 H 105.7°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).
Color values
| HEX | #D4CD5D |
|---|---|
| RGB | rgb(212, 205, 93) |
| HSL | hsl(56, 58%, 60%) |
| HSV | hsv(56, 56%, 83%) |
| CMYK | cmyk(0%, 3.3%, 56.1%, 16.9%) |
| CIE-LAB | lab(80.99, -11.86, 55.56) |
| CIE-LCH | lch(80.99, 56.81, 102.05°) |
| OKLab | oklab(83.2% -0.0361 0.1289) |
| OKLCH | oklch(83.2% 0.134 105.7) |
| XYZ | xyz(50.9601, 58.4516, 18.9517) |
| Luminance | 0.5845 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 5.23
Greenish Beige
#C9D179
ΔE00 5.67
Dirty Yellow
#CDC50A
ΔE00 5.98
Vomit Yellow
#C7C10C
ΔE00 6.14
Sandy
#F1DA7A
ΔE00 6.22
Sand (survey)
#E2CA76
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4CD5D #5D64D4
analogous
#D4925D #D4CD5D #9FD45D
triadic
#D4CD5D #5DD4CD #CD5DD4
tetradic
#D4CD5D #5DD492 #5D64D4 #D45D9F
square
#D4CD5D #5DD492 #5D64D4 #D45D9F
split-complementary
#D4CD5D #5D9FD4 #925DD4
monochromatic
#908A26 #C1B833 #D4CD5D #E1DC8D #EEEBBE
Accessibility & contrast
On white
1.65
#D4CD5D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.69
#D4CD5D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4CD5D
12.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4CD5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4CD5D | 1.00 | 1.65 | 12.69 | 12.69 |
| #FFFFFF | 1.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC651
Deuteranopia (green-blind)
#E0CB63
Tritanopia (blue-blind)
#E2C1B4
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #d4cd5d; /* rgb */ color: rgb(212, 205, 93); /* oklch */ color: oklch(83.2% 0.134 105.7);
Tailwind
colors: {
custom: {
50: '#e4dc8f',
500: '#d4cd5d',
950: '#000000',
},
}SCSS
$custom: #d4cd5d; $custom-light: #e4dc8f; $custom-dark: #000000;
JSON
{
"hex": "#d4cd5d",
"rgb": {
"r": 212,
"g": 205,
"b": 93
},
"hsl": {
"h": 56.471,
"s": 58.049,
"l": 59.804
},
"oklch": {
"l": 0.83201,
"c": 0.13389,
"h": 105.7
},
"luminance": 0.5845
}Semantic roles & 50–950 ramp
primary
#D4CD5D
secondary
#3F4496
accent
#50E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F