#D7C170#D7C170
#D7C170 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.2% C 0.104 H 94.6°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C170 |
|---|---|
| RGB | rgb(215, 193, 112) |
| HSL | hsl(47, 56%, 64%) |
| HSV | hsv(47, 48%, 84%) |
| CMYK | cmyk(0%, 10.2%, 47.9%, 15.7%) |
| CIE-LAB | lab(78.32, -2.87, 43.39) |
| CIE-LCH | lch(78.32, 43.49, 93.79°) |
| OKLab | oklab(81.22% -0.0084 0.1041) |
| OKLCH | oklch(81.22% 0.104 94.6) |
| XYZ | xyz(50.0205, 53.7589, 23.0678) |
| Luminance | 0.5376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.39
Tan (survey)
#D1B26F
ΔE00 5.34
Desert
#CCAD60
ΔE00 5.67
Darkkhaki
#BDB76B
ΔE00 5.86
Sandy
#F1DA7A
ΔE00 6.31
Sandstone
#C9AE74
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C170 #7086D7
analogous
#D78E70 #D7C170 #BAD770
triadic
#D7C170 #70D7C1 #C170D7
tetradic
#D7C170 #70D78E #7086D7 #D770BA
square
#D7C170 #70D78E #7086D7 #D770BA
split-complementary
#D7C170 #70BAD7 #8E70D7
monochromatic
#A0872D #CAAC40 #D7C170 #E4D6A0 #F2EAD0
Accessibility & contrast
On white
1.79
#D7C170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.75
#D7C170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C170
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C170 | 1.00 | 1.79 | 11.75 | 11.75 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BE69
Deuteranopia (green-blind)
#D6C573
Tritanopia (blue-blind)
#E5B6AE
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d7c170; /* rgb */ color: rgb(215, 193, 112); /* oklch */ color: oklch(81.2% 0.104 94.6);
Tailwind
colors: {
custom: {
50: '#e5d39a',
500: '#d7c170',
950: '#000000',
},
}SCSS
$custom: #d7c170; $custom-light: #e5d39a; $custom-dark: #000000;
JSON
{
"hex": "#d7c170",
"rgb": {
"r": 215,
"g": 193,
"b": 112
},
"hsl": {
"h": 47.184,
"s": 56.284,
"l": 64.118
},
"oklch": {
"l": 0.81217,
"c": 0.10444,
"h": 94.6
},
"luminance": 0.53757
}Semantic roles & 50–950 ramp
primary
#D7C170
secondary
#475BA4
accent
#44C422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F