#D7CD6C#D7CD6C
#D7CD6C is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.120 H 103.4°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #D7CD6C |
|---|---|
| RGB | rgb(215, 205, 108) |
| HSL | hsl(54, 57%, 63%) |
| HSV | hsv(54, 50%, 84%) |
| CMYK | cmyk(0%, 4.7%, 49.8%, 15.7%) |
| CIE-LAB | lab(81.40, -9.41, 49.09) |
| CIE-LCH | lch(81.40, 49.98, 100.85°) |
| OKLab | oklab(83.64% -0.0277 0.1164) |
| OKLCH | oklch(83.64% 0.12 103.4) |
| XYZ | xyz(52.5639, 59.1941, 22.8412) |
| Luminance | 0.5919 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.57
Sandy
#F1DA7A
ΔE00 5.10
Greenish Beige
#C9D179
ΔE00 5.19
Dull Yellow
#EEDC5B
ΔE00 5.79
Khaki (CSS)
#F0E68C
ΔE00 5.97
Darkkhaki
#BDB76B
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7CD6C #6C76D7
analogous
#D7976C #D7CD6C #ABD76C
triadic
#D7CD6C #6CD7CD #CD6CD7
tetradic
#D7CD6C #6CD797 #6C76D7 #D76CAB
square
#D7CD6C #6CD797 #6C76D7 #D76CAB
split-complementary
#D7CD6C #6CABD7 #976CD7
monochromatic
#9E932B #CABD3C #D7CD6C #E4DD9C #F1EECC
Accessibility & contrast
On white
1.64
#D7CD6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.84
#D7CD6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7CD6C
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7CD6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7CD6C | 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)
#DCC763
Deuteranopia (green-blind)
#DFCD70
Tritanopia (blue-blind)
#E4C2B7
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #d7cd6c; /* rgb */ color: rgb(215, 205, 108); /* oklch */ color: oklch(83.6% 0.120 103.4);
Tailwind
colors: {
custom: {
50: '#e5dc98',
500: '#d7cd6c',
950: '#000000',
},
}SCSS
$custom: #d7cd6c; $custom-light: #e5dc98; $custom-dark: #000000;
JSON
{
"hex": "#d7cd6c",
"rgb": {
"r": 215,
"g": 205,
"b": 108
},
"hsl": {
"h": 54.393,
"s": 57.219,
"l": 63.333
},
"oklch": {
"l": 0.83638,
"c": 0.11962,
"h": 103.4
},
"luminance": 0.59192
}Semantic roles & 50–950 ramp
primary
#D7CD6C
secondary
#454EA2
accent
#30C521
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F