#D2C172#D2C172
#D2C172 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.102 H 97.5°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C172 |
|---|---|
| RGB | rgb(210, 193, 114) |
| HSL | hsl(49, 52%, 64%) |
| HSV | hsv(49, 46%, 82%) |
| CMYK | cmyk(0%, 8.1%, 45.7%, 17.6%) |
| CIE-LAB | lab(77.91, -4.72, 41.79) |
| CIE-LCH | lch(77.91, 42.05, 96.44°) |
| OKLab | oklab(80.8% -0.0133 0.1007) |
| OKLCH | oklch(80.8% 0.102 97.5) |
| XYZ | xyz(48.6869, 53.0582, 23.5930) |
| Luminance | 0.5306 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.28
Darkkhaki
#BDB76B
ΔE00 4.55
Tan (survey)
#D1B26F
ΔE00 6.08
Desert
#CCAD60
ΔE00 6.36
Sandy
#F1DA7A
ΔE00 6.78
Sand
#C2B280
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C172 #7283D2
analogous
#D29172 #D2C172 #B3D272
triadic
#D2C172 #72D2C1 #C172D2
tetradic
#D2C172 #72D291 #7283D2 #D272B3
square
#D2C172 #72D291 #7283D2 #D272B3
split-complementary
#D2C172 #72B3D2 #9172D2
monochromatic
#998631 #C3AD44 #D2C172 #E1D5A0 #F0EACF
Accessibility & contrast
On white
1.81
#D2C172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.61
#D2C172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C172
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C172 | 1.00 | 1.81 | 11.61 | 11.61 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBD6C
Deuteranopia (green-blind)
#D4C375
Tritanopia (blue-blind)
#DFB7AE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d2c172; /* rgb */ color: rgb(210, 193, 114); /* oklch */ color: oklch(80.8% 0.102 97.5);
Tailwind
colors: {
custom: {
50: '#e1d39c',
500: '#d2c172',
950: '#000000',
},
}SCSS
$custom: #d2c172; $custom-light: #e1d39c; $custom-dark: #000000;
JSON
{
"hex": "#d2c172",
"rgb": {
"r": 210,
"g": 193,
"b": 114
},
"hsl": {
"h": 49.375,
"s": 51.613,
"l": 63.529
},
"oklch": {
"l": 0.80796,
"c": 0.10158,
"h": 97.5
},
"luminance": 0.53056
}Semantic roles & 50–950 ramp
primary
#D2C172
secondary
#4A599E
accent
#42BF26
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F