#DCD8A2#DCD8A2
#DCD8A2 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.2% C 0.071 H 104.2°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD8A2 |
|---|---|
| RGB | rgb(220, 216, 162) |
| HSL | hsl(56, 45%, 75%) |
| HSV | hsv(56, 26%, 86%) |
| CMYK | cmyk(0%, 1.8%, 26.4%, 13.7%) |
| CIE-LAB | lab(85.47, -7.05, 27.20) |
| CIE-LCH | lch(85.47, 28.10, 104.54°) |
| OKLab | oklab(87.23% -0.0174 0.0686) |
| OKLCH | oklch(87.23% 0.071 104.2) |
| XYZ | xyz(60.5928, 66.9370, 43.9036) |
| Luminance | 0.6694 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 2.82
Palegoldenrod
#EEE8AA
ΔE00 3.97
Vanilla
#F3E5AB
ΔE00 4.60
Light Tan
#FBEEAC
ΔE00 6.21
Greenish Beige
#C9D179
ΔE00 7.49
Khaki (CSS)
#F0E68C
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD8A2 #A2A6DC
analogous
#DCBBA2 #DCD8A2 #C3DCA2
triadic
#DCD8A2 #A2DCD8 #D8A2DC
tetradic
#DCD8A2 #A2DCBB #A2A6DC #DCA2C3
square
#DCD8A2 #A2DCBB #A2A6DC #DCA2C3
split-complementary
#DCD8A2 #A2C3DC #BBA2DC
monochromatic
#BBB349 #CBC576 #DCD8A2 #EDEBCE #F7F6E9
Accessibility & contrast
On white
1.46
#DCD8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.39
#DCD8A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD8A2
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD8A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD8A2 | 1.00 | 1.46 | 14.39 | 14.39 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2D49E
Deuteranopia (green-blind)
#E3D7A4
Tritanopia (blue-blind)
#E5D1CA
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #dcd8a2; /* rgb */ color: rgb(220, 216, 162); /* oklch */ color: oklch(87.2% 0.071 104.2);
Tailwind
colors: {
custom: {
50: '#e7e4be',
500: '#dcd8a2',
950: '#000000',
},
}SCSS
$custom: #dcd8a2; $custom-light: #e7e4be; $custom-dark: #000000;
JSON
{
"hex": "#dcd8a2",
"rgb": {
"r": 220,
"g": 216,
"b": 162
},
"hsl": {
"h": 55.862,
"s": 45.313,
"l": 74.902
},
"oklch": {
"l": 0.87227,
"c": 0.07073,
"h": 104.2
},
"luminance": 0.66936
}Semantic roles & 50–950 ramp
primary
#DCD8A2
secondary
#6E73B4
accent
#37B82D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482