#DCD186#DCD186
#DCD186 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.3% C 0.096 H 101.0°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD186 |
|---|---|
| RGB | rgb(220, 209, 134) |
| HSL | hsl(52, 55%, 69%) |
| HSV | hsv(52, 39%, 86%) |
| CMYK | cmyk(0%, 5%, 39.1%, 13.7%) |
| CIE-LAB | lab(83.20, -6.88, 38.56) |
| CIE-LCH | lch(83.20, 39.17, 100.11°) |
| OKLab | oklab(85.28% -0.0183 0.0944) |
| OKLCH | oklch(85.28% 0.096 101) |
| XYZ | xyz(56.6198, 62.5394, 31.6384) |
| Luminance | 0.6254 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.19
Khaki (CSS)
#F0E68C
ΔE00 5.19
Sandy
#F1DA7A
ΔE00 5.21
Beige (survey)
#E6DAA6
ΔE00 5.38
Greenish Beige
#C9D179
ΔE00 5.56
Palegoldenrod
#EEE8AA
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD186 #8691DC
analogous
#DCA686 #DCD186 #BCDC86
triadic
#DCD186 #86DCD1 #D186DC
tetradic
#DCD186 #86DCA6 #8691DC #DC86BC
square
#DCD186 #86DCA6 #8691DC #DC86BC
split-complementary
#DCD186 #86BCDC #A686DC
monochromatic
#B4A334 #CEBF57 #DCD186 #EAE3B5 #F7F5E5
Accessibility & contrast
On white
1.55
#DCD186 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.51
#DCD186 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD186
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD186 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD186 | 1.00 | 1.55 | 13.51 | 13.51 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DECC80
Deuteranopia (green-blind)
#E2D189
Tritanopia (blue-blind)
#E8C7BE
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #dcd186; /* rgb */ color: rgb(220, 209, 134); /* oklch */ color: oklch(85.3% 0.096 101.0);
Tailwind
colors: {
custom: {
50: '#e8dfaa',
500: '#dcd186',
950: '#000000',
},
}SCSS
$custom: #dcd186; $custom-light: #e8dfaa; $custom-dark: #000000;
JSON
{
"hex": "#dcd186",
"rgb": {
"r": 220,
"g": 209,
"b": 134
},
"hsl": {
"h": 52.326,
"s": 55.128,
"l": 69.412
},
"oklch": {
"l": 0.85278,
"c": 0.09617,
"h": 101
},
"luminance": 0.62538
}Semantic roles & 50–950 ramp
primary
#DCD186
secondary
#5360B3
accent
#37C323
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481