#D2C170#D2C170
#D2C170 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.104 H 97.8°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C170 |
|---|---|
| RGB | rgb(210, 193, 112) |
| HSL | hsl(50, 52%, 63%) |
| HSV | hsv(50, 47%, 82%) |
| CMYK | cmyk(0%, 8.1%, 46.7%, 17.6%) |
| CIE-LAB | lab(77.88, -4.91, 42.76) |
| CIE-LCH | lch(77.88, 43.04, 96.56°) |
| OKLab | oklab(80.77% -0.014 0.1028) |
| OKLCH | oklch(80.77% 0.104 97.8) |
| XYZ | xyz(48.5743, 53.0132, 23.0000) |
| Luminance | 0.5301 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.25
Darkkhaki
#BDB76B
ΔE00 4.57
Tan (survey)
#D1B26F
ΔE00 6.23
Desert
#CCAD60
ΔE00 6.40
Sandy
#F1DA7A
ΔE00 6.68
Sand
#C2B280
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C170 #7081D2
analogous
#D29070 #D2C170 #B2D270
triadic
#D2C170 #70D2C1 #C170D2
tetradic
#D2C170 #70D290 #7081D2 #D270B2
square
#D2C170 #70D290 #7081D2 #D270B2
split-complementary
#D2C170 #70B2D2 #9070D2
monochromatic
#988630 #C3AD41 #D2C170 #E1D59F #EFE9CD
Accessibility & contrast
On white
1.81
#D2C170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.60
#D2C170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C170
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C170 | 1.00 | 1.81 | 11.60 | 11.60 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBD69
Deuteranopia (green-blind)
#D4C373
Tritanopia (blue-blind)
#DFB6AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d2c170; /* rgb */ color: rgb(210, 193, 112); /* oklch */ color: oklch(80.8% 0.104 97.8);
Tailwind
colors: {
custom: {
50: '#e1d39a',
500: '#d2c170',
950: '#000000',
},
}SCSS
$custom: #d2c170; $custom-light: #e1d39a; $custom-dark: #000000;
JSON
{
"hex": "#d2c170",
"rgb": {
"r": 210,
"g": 193,
"b": 112
},
"hsl": {
"h": 49.592,
"s": 52.128,
"l": 63.137
},
"oklch": {
"l": 0.80766,
"c": 0.1037,
"h": 97.8
},
"luminance": 0.53011
}Semantic roles & 50–950 ramp
primary
#D2C170
secondary
#49589D
accent
#41C026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F