#D5C170#D5C170
#D5C170 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 81.0% C 0.104 H 95.9°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #D5C170 |
|---|---|
| RGB | rgb(213, 193, 112) |
| HSL | hsl(48, 55%, 64%) |
| HSV | hsv(48, 47%, 84%) |
| CMYK | cmyk(0%, 9.4%, 47.4%, 16.5%) |
| CIE-LAB | lab(78.14, -3.69, 43.14) |
| CIE-LCH | lch(78.14, 43.29, 94.89°) |
| OKLab | oklab(81.04% -0.0107 0.1036) |
| OKLCH | oklch(81.04% 0.104 95.9) |
| XYZ | xyz(49.4366, 53.4578, 23.0404) |
| Luminance | 0.5346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.67
Darkkhaki
#BDB76B
ΔE00 5.33
Tan (survey)
#D1B26F
ΔE00 5.67
Desert
#CCAD60
ΔE00 5.92
Sandy
#F1DA7A
ΔE00 6.42
Sandstone
#C9AE74
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5C170 #7084D5
analogous
#D58E70 #D5C170 #B6D570
triadic
#D5C170 #70D5C1 #C170D5
tetradic
#D5C170 #70D58E #7084D5 #D570B6
square
#D5C170 #70D58E #7084D5 #D570B6
split-complementary
#D5C170 #70B6D5 #8E70D5
monochromatic
#9D872E #C7AC41 #D5C170 #E3D69F #F1EACF
Accessibility & contrast
On white
1.80
#D5C170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#D5C170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5C170
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5C170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5C170 | 1.00 | 1.80 | 11.69 | 11.69 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BD69
Deuteranopia (green-blind)
#D5C473
Tritanopia (blue-blind)
#E3B6AE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d5c170; /* rgb */ color: rgb(213, 193, 112); /* oklch */ color: oklch(81.0% 0.104 95.9);
Tailwind
colors: {
custom: {
50: '#e4d39a',
500: '#d5c170',
950: '#000000',
},
}SCSS
$custom: #d5c170; $custom-light: #e4d39a; $custom-dark: #000000;
JSON
{
"hex": "#d5c170",
"rgb": {
"r": 213,
"g": 193,
"b": 112
},
"hsl": {
"h": 48.119,
"s": 54.595,
"l": 63.725
},
"oklch": {
"l": 0.81035,
"c": 0.10411,
"h": 95.9
},
"luminance": 0.53456
}Semantic roles & 50–950 ramp
primary
#D5C170
secondary
#485AA1
accent
#43C223
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F