#D9CD5C#D9CD5C
#D9CD5C is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.134 H 103.3°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #D9CD5C |
|---|---|
| RGB | rgb(217, 205, 92) |
| HSL | hsl(54, 62%, 61%) |
| HSV | hsv(54, 58%, 85%) |
| CMYK | cmyk(0%, 5.5%, 57.6%, 14.9%) |
| CIE-LAB | lab(81.40, -9.87, 56.58) |
| CIE-LCH | lch(81.40, 57.43, 99.90°) |
| OKLab | oklab(83.62% -0.0309 0.1309) |
| OKLCH | oklch(83.62% 0.134 103.3) |
| XYZ | xyz(52.3801, 59.1889, 18.7886) |
| Luminance | 0.5919 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.38
Sandy
#F1DA7A
ΔE00 5.31
Sand (survey)
#E2CA76
ΔE00 5.47
Dirty Yellow
#CDC50A
ΔE00 5.83
Vomit Yellow
#C7C10C
ΔE00 6.16
Ugly Yellow
#D0C101
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9CD5C #5C68D9
analogous
#D98E5C #D9CD5C #A6D95C
triadic
#D9CD5C #5CD9CD #CD5CD9
tetradic
#D9CD5C #5CD98E #5C68D9 #D95CA6
square
#D9CD5C #5CD98E #5C68D9 #D95CA6
split-complementary
#D9CD5C #5CA6D9 #8E5CD9
monochromatic
#978C23 #C9BA2F #D9CD5C #E5DC8E #F0EBBF
Accessibility & contrast
On white
1.64
#D9CD5C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.84
#D9CD5C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9CD5C
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9CD5C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9CD5C | 1.00 | 1.64 | 12.84 | 12.84 |
| #FFFFFF | 1.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC750
Deuteranopia (green-blind)
#E1CD62
Tritanopia (blue-blind)
#E8C0B4
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #d9cd5c; /* rgb */ color: rgb(217, 205, 92); /* oklch */ color: oklch(83.6% 0.134 103.3);
Tailwind
colors: {
custom: {
50: '#e7dc8e',
500: '#d9cd5c',
950: '#000000',
},
}SCSS
$custom: #d9cd5c; $custom-light: #e7dc8e; $custom-dark: #000000;
JSON
{
"hex": "#d9cd5c",
"rgb": {
"r": 217,
"g": 205,
"b": 92
},
"hsl": {
"h": 54.24,
"s": 62.189,
"l": 60.588
},
"oklch": {
"l": 0.83621,
"c": 0.13447,
"h": 103.3
},
"luminance": 0.59187
}Semantic roles & 50–950 ramp
primary
#D9CD5C
secondary
#3D469C
accent
#2CCA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150D
muted
#85847F