#DCD182#DCD182
#DCD182 is a very light, moderate yellow. Relative luminance 0.624; OKLCH L 85.2% C 0.101 H 101.4°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD182 |
|---|---|
| RGB | rgb(220, 209, 130) |
| HSL | hsl(53, 56%, 69%) |
| HSV | hsv(53, 41%, 86%) |
| CMYK | cmyk(0%, 5%, 40.9%, 13.7%) |
| CIE-LAB | lab(83.14, -7.31, 40.51) |
| CIE-LCH | lch(83.14, 41.16, 100.22°) |
| OKLab | oklab(85.21% -0.0198 0.0987) |
| OKLCH | oklch(85.21% 0.101 101.4) |
| XYZ | xyz(56.3460, 62.4299, 30.1968) |
| Luminance | 0.6243 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.01
Sandy
#F1DA7A
ΔE00 4.83
Khaki (CSS)
#F0E68C
ΔE00 4.94
Greenish Beige
#C9D179
ΔE00 5.34
Beige (survey)
#E6DAA6
ΔE00 6.03
Palegoldenrod
#EEE8AA
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD182 #828DDC
analogous
#DCA482 #DCD182 #BADC82
triadic
#DCD182 #82DCD1 #D182DC
tetradic
#DCD182 #82DCA4 #828DDC #DC82BA
square
#DCD182 #82DCA4 #828DDC #DC82BA
split-complementary
#DCD182 #82BADC #A482DC
monochromatic
#B2A232 #CFBF52 #DCD182 #E9E3B2 #F7F4E2
Accessibility & contrast
On white
1.56
#DCD182 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.49
#DCD182 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD182
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD182 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD182 | 1.00 | 1.56 | 13.49 | 13.49 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFCC7C
Deuteranopia (green-blind)
#E2D185
Tritanopia (blue-blind)
#E8C7BE
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #dcd182; /* rgb */ color: rgb(220, 209, 130); /* oklch */ color: oklch(85.2% 0.101 101.4);
Tailwind
colors: {
custom: {
50: '#e8dea7',
500: '#dcd182',
950: '#000000',
},
}SCSS
$custom: #dcd182; $custom-light: #e8dea7; $custom-dark: #000000;
JSON
{
"hex": "#dcd182",
"rgb": {
"r": 220,
"g": 209,
"b": 130
},
"hsl": {
"h": 52.667,
"s": 56.25,
"l": 68.627
},
"oklch": {
"l": 0.85213,
"c": 0.10063,
"h": 101.4
},
"luminance": 0.62428
}Semantic roles & 50–950 ramp
primary
#DCD182
secondary
#505CB3
accent
#36C422
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480