#D2C17A#D2C17A
#D2C17A is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.093 H 96.3°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C17A |
|---|---|
| RGB | rgb(210, 193, 122) |
| HSL | hsl(48, 49%, 65%) |
| HSV | hsv(48, 42%, 82%) |
| CMYK | cmyk(0%, 8.1%, 41.9%, 17.6%) |
| CIE-LAB | lab(78.02, -3.90, 37.87) |
| CIE-LCH | lch(78.02, 38.07, 95.89°) |
| OKLab | oklab(80.92% -0.0102 0.0923) |
| OKLCH | oklch(80.92% 0.093 96.3) |
| XYZ | xyz(49.1623, 53.2484, 26.0969) |
| Luminance | 0.5325 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.74
Darkkhaki
#BDB76B
ΔE00 4.76
Tan (survey)
#D1B26F
ΔE00 5.60
Sand
#C2B280
ΔE00 5.73
Sandstone
#C9AE74
ΔE00 6.28
Desert
#CCAD60
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C17A #7A8BD2
analogous
#D2957A #D2C17A #B7D27A
triadic
#D2C17A #7AD2C1 #C17AD2
tetradic
#D2C17A #7AD295 #7A8BD2 #D27AB7
square
#D2C17A #7AD295 #7A8BD2 #D27AB7
split-complementary
#D2C17A #7AB7D2 #957AD2
monochromatic
#9D8935 #C3AC4C #D2C17A #E1D6A8 #F1ECD5
Accessibility & contrast
On white
1.80
#D2C17A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.65
#D2C17A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C17A
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C17A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C17A | 1.00 | 1.80 | 11.65 | 11.65 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBE75
Deuteranopia (green-blind)
#D3C37D
Tritanopia (blue-blind)
#DEB7AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d2c17a; /* rgb */ color: rgb(210, 193, 122); /* oklch */ color: oklch(80.9% 0.093 96.3);
Tailwind
colors: {
custom: {
50: '#e1d3a1',
500: '#d2c17a',
950: '#000000',
},
}SCSS
$custom: #d2c17a; $custom-light: #e1d3a1; $custom-dark: #000000;
JSON
{
"hex": "#d2c17a",
"rgb": {
"r": 210,
"g": 193,
"b": 122
},
"hsl": {
"h": 48.409,
"s": 49.438,
"l": 65.098
},
"oklch": {
"l": 0.80921,
"c": 0.0929,
"h": 96.3
},
"luminance": 0.53247
}Semantic roles & 50–950 ramp
primary
#D2C17A
secondary
#4F5FA2
accent
#45BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380