#D9CD5D#D9CD5D
#D9CD5D is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.134 H 103.2°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #D9CD5D |
|---|---|
| RGB | rgb(217, 205, 93) |
| HSL | hsl(54, 62%, 61%) |
| HSV | hsv(54, 57%, 85%) |
| CMYK | cmyk(0%, 5.5%, 57.1%, 14.9%) |
| CIE-LAB | lab(81.41, -9.80, 56.14) |
| CIE-LCH | lch(81.41, 56.99, 99.90°) |
| OKLab | oklab(83.63% -0.0305 0.1301) |
| OKLCH | oklch(83.63% 0.134 103.2) |
| XYZ | xyz(52.4241, 59.2065, 19.0203) |
| Luminance | 0.5920 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.43
Sandy
#F1DA7A
ΔE00 5.25
Sand (survey)
#E2CA76
ΔE00 5.37
Dirty Yellow
#CDC50A
ΔE00 5.95
Vomit Yellow
#C7C10C
ΔE00 6.26
Ugly Yellow
#D0C101
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9CD5D #5D69D9
analogous
#D98F5D #D9CD5D #A7D95D
triadic
#D9CD5D #5DD9CD #CD5DD9
tetradic
#D9CD5D #5DD98F #5D69D9 #D95DA7
square
#D9CD5D #5DD98F #5D69D9 #D95DA7
split-complementary
#D9CD5D #5DA7D9 #8F5DD9
monochromatic
#988D24 #CABB2F #D9CD5D #E5DC8F #F0ECC0
Accessibility & contrast
On white
1.64
#D9CD5D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.84
#D9CD5D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9CD5D
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9CD5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9CD5D | 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)
#DDC751
Deuteranopia (green-blind)
#E1CD63
Tritanopia (blue-blind)
#E8C0B4
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #d9cd5d; /* rgb */ color: rgb(217, 205, 93); /* oklch */ color: oklch(83.6% 0.134 103.2);
Tailwind
colors: {
custom: {
50: '#e7dc8f',
500: '#d9cd5d',
950: '#000000',
},
}SCSS
$custom: #d9cd5d; $custom-light: #e7dc8f; $custom-dark: #000000;
JSON
{
"hex": "#d9cd5d",
"rgb": {
"r": 217,
"g": 205,
"b": 93
},
"hsl": {
"h": 54.194,
"s": 62,
"l": 60.784
},
"oklch": {
"l": 0.83632,
"c": 0.1336,
"h": 103.2
},
"luminance": 0.59205
}Semantic roles & 50–950 ramp
primary
#D9CD5D
secondary
#3E479C
accent
#2DCA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150D
muted
#85847F