#D9C170#D9C170
#D9C170 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.105 H 93.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C170 |
|---|---|
| RGB | rgb(217, 193, 112) |
| HSL | hsl(46, 58%, 65%) |
| HSV | hsv(46, 48%, 85%) |
| CMYK | cmyk(0%, 11.1%, 48.4%, 14.9%) |
| CIE-LAB | lab(78.50, -2.06, 43.65) |
| CIE-LCH | lch(78.50, 43.70, 92.70°) |
| OKLab | oklab(81.4% -0.0062 0.1047) |
| OKLCH | oklch(81.4% 0.105 93.4) |
| XYZ | xyz(50.6115, 54.0636, 23.0955) |
| Luminance | 0.5406 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.25
Tan (survey)
#D1B26F
ΔE00 5.06
Desert
#CCAD60
ΔE00 5.47
Sandy
#F1DA7A
ΔE00 6.26
Darkkhaki
#BDB76B
ΔE00 6.40
Sandstone
#C9AE74
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C170 #7088D9
analogous
#D98D70 #D9C170 #BCD970
triadic
#D9C170 #70D9C1 #C170D9
tetradic
#D9C170 #70D98D #7088D9 #D970BC
square
#D9C170 #70D98D #7088D9 #D970BC
split-complementary
#D9C170 #70BCD9 #8D70D9
monochromatic
#A3882B #CCAC40 #D9C170 #E6D6A0 #F3EBD1
Accessibility & contrast
On white
1.78
#D9C170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.81
#D9C170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C170
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C170 | 1.00 | 1.78 | 11.81 | 11.81 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BE69
Deuteranopia (green-blind)
#D7C573
Tritanopia (blue-blind)
#E7B6AE
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d9c170; /* rgb */ color: rgb(217, 193, 112); /* oklch */ color: oklch(81.4% 0.105 93.4);
Tailwind
colors: {
custom: {
50: '#e7d39a',
500: '#d9c170',
950: '#000000',
},
}SCSS
$custom: #d9c170; $custom-light: #e7d39a; $custom-dark: #000000;
JSON
{
"hex": "#d9c170",
"rgb": {
"r": 217,
"g": 193,
"b": 112
},
"hsl": {
"h": 46.286,
"s": 58.011,
"l": 64.51
},
"oklch": {
"l": 0.81399,
"c": 0.10483,
"h": 93.4
},
"luminance": 0.54061
}Semantic roles & 50–950 ramp
primary
#D9C170
secondary
#465CA7
accent
#46C620
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F