#DCD7A2#DCD7A2
#DCD7A2 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 87.0% C 0.070 H 103.2°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD7A2 |
|---|---|
| RGB | rgb(220, 215, 162) |
| HSL | hsl(55, 45%, 75%) |
| HSV | hsv(55, 26%, 86%) |
| CMYK | cmyk(0%, 2.3%, 26.4%, 13.7%) |
| CIE-LAB | lab(85.21, -6.54, 26.85) |
| CIE-LCH | lch(85.21, 27.63, 103.70°) |
| OKLab | oklab(87.02% -0.0159 0.0677) |
| OKLCH | oklch(87.02% 0.07 103.2) |
| XYZ | xyz(60.3374, 66.4262, 43.8184) |
| Luminance | 0.6643 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 2.55
Palegoldenrod
#EEE8AA
ΔE00 4.19
Vanilla
#F3E5AB
ΔE00 4.57
Light Tan
#FBEEAC
ΔE00 6.31
Wheat
#F5DEB3
ΔE00 7.62
Khaki (CSS)
#F0E68C
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD7A2 #A2A7DC
analogous
#DCBAA2 #DCD7A2 #C4DCA2
triadic
#DCD7A2 #A2DCD7 #D7A2DC
tetradic
#DCD7A2 #A2DCBA #A2A7DC #DCA2C4
square
#DCD7A2 #A2DCBA #A2A7DC #DCA2C4
split-complementary
#DCD7A2 #A2C4DC #BAA2DC
monochromatic
#BBB149 #CBC476 #DCD7A2 #EDEACE #F7F5E9
Accessibility & contrast
On white
1.47
#DCD7A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.29
#DCD7A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD7A2
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD7A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD7A2 | 1.00 | 1.47 | 14.29 | 14.29 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1D39F
Deuteranopia (green-blind)
#E3D6A4
Tritanopia (blue-blind)
#E5D0C9
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #dcd7a2; /* rgb */ color: rgb(220, 215, 162); /* oklch */ color: oklch(87.0% 0.070 103.2);
Tailwind
colors: {
custom: {
50: '#e7e3be',
500: '#dcd7a2',
950: '#000000',
},
}SCSS
$custom: #dcd7a2; $custom-light: #e7e3be; $custom-dark: #000000;
JSON
{
"hex": "#dcd7a2",
"rgb": {
"r": 220,
"g": 215,
"b": 162
},
"hsl": {
"h": 54.828,
"s": 45.313,
"l": 74.902
},
"oklch": {
"l": 0.87023,
"c": 0.06955,
"h": 103.2
},
"luminance": 0.66425
}Semantic roles & 50–950 ramp
primary
#DCD7A2
secondary
#6E74B4
accent
#39B82D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482