#D7CD7C#D7CD7C
#D7CD7C is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.103 H 102.2°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #D7CD7C |
|---|---|
| RGB | rgb(215, 205, 124) |
| HSL | hsl(53, 53%, 66%) |
| HSV | hsv(53, 42%, 84%) |
| CMYK | cmyk(0%, 4.7%, 42.3%, 15.7%) |
| CIE-LAB | lab(81.60, -7.88, 41.48) |
| CIE-LCH | lch(81.60, 42.23, 100.75°) |
| OKLab | oklab(83.87% -0.0217 0.1006) |
| OKLCH | oklch(83.87% 0.103 102.2) |
| XYZ | xyz(53.4949, 59.5665, 27.7444) |
| Luminance | 0.5957 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.08
Greenish Beige
#C9D179
ΔE00 4.91
Sandy
#F1DA7A
ΔE00 5.45
Khaki (CSS)
#F0E68C
ΔE00 5.82
Darkkhaki
#BDB76B
ΔE00 5.95
Beige (survey)
#E6DAA6
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7CD7C #7C86D7
analogous
#D7A07C #D7CD7C #B4D77C
triadic
#D7CD7C #7CD7CD #CD7CD7
tetradic
#D7CD7C #7CD7A0 #7C86D7 #D77CB4
square
#D7CD7C #7CD7A0 #7C86D7 #D77CB4
split-complementary
#D7CD7C #7CB4D7 #A07CD7
monochromatic
#A69933 #C9BB4D #D7CD7C #E5DFAB #F4F1DA
Accessibility & contrast
On white
1.63
#D7CD7C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.91
#D7CD7C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7CD7C
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7CD7C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7CD7C | 1.00 | 1.63 | 12.91 | 12.91 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC876
Deuteranopia (green-blind)
#DECD7F
Tritanopia (blue-blind)
#E3C3B9
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #d7cd7c; /* rgb */ color: rgb(215, 205, 124); /* oklch */ color: oklch(83.9% 0.103 102.2);
Tailwind
colors: {
custom: {
50: '#e5dca3',
500: '#d7cd7c',
950: '#000000',
},
}SCSS
$custom: #d7cd7c; $custom-light: #e5dca3; $custom-dark: #000000;
JSON
{
"hex": "#d7cd7c",
"rgb": {
"r": 215,
"g": 205,
"b": 124
},
"hsl": {
"h": 53.407,
"s": 53.216,
"l": 66.471
},
"oklch": {
"l": 0.83866,
"c": 0.10291,
"h": 102.2
},
"luminance": 0.59565
}Semantic roles & 50–950 ramp
primary
#D7CD7C
secondary
#4E58AA
accent
#36C125
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150F
muted
#848480