#DCD882#DCD882
#DCD882 is a very light, moderate yellow. Relative luminance 0.659; OKLCH L 86.7% C 0.108 H 106.1°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD882 |
|---|---|
| RGB | rgb(220, 216, 130) |
| HSL | hsl(57, 56%, 69%) |
| HSV | hsv(57, 41%, 86%) |
| CMYK | cmyk(0%, 1.8%, 40.9%, 13.7%) |
| CIE-LAB | lab(84.97, -10.85, 42.82) |
| CIE-LCH | lch(84.97, 44.17, 104.22°) |
| OKLab | oklab(86.66% -0.03 0.1039) |
| OKLCH | oklch(86.66% 0.108 106.1) |
| XYZ | xyz(58.1013, 65.9405, 30.7819) |
| Luminance | 0.6594 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.79
Greenish Beige
#C9D179
ΔE00 3.85
Sandy
#F1DA7A
ΔE00 5.59
Palegoldenrod
#EEE8AA
ΔE00 6.04
Sand (survey)
#E2CA76
ΔE00 6.25
Greenish Tan
#BCCB7A
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD882 #8286DC
analogous
#DCAB82 #DCD882 #B3DC82
triadic
#DCD882 #82DCD8 #D882DC
tetradic
#DCD882 #82DCAB #8286DC #DC82B3
square
#DCD882 #82DCAB #8286DC #DC82B3
split-complementary
#DCD882 #82B3DC #AB82DC
monochromatic
#B2AC32 #CFC952 #DCD882 #E9E7B2 #F7F6E2
Accessibility & contrast
On white
1.48
#DCD882 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.19
#DCD882 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD882
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD882 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD882 | 1.00 | 1.48 | 14.19 | 14.19 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5D27B
Deuteranopia (green-blind)
#E7D686
Tritanopia (blue-blind)
#E8CEC3
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #dcd882; /* rgb */ color: rgb(220, 216, 130); /* oklch */ color: oklch(86.7% 0.108 106.1);
Tailwind
colors: {
custom: {
50: '#e8e3a7',
500: '#dcd882',
950: '#000000',
},
}SCSS
$custom: #dcd882; $custom-light: #e8e3a7; $custom-dark: #000000;
JSON
{
"hex": "#dcd882",
"rgb": {
"r": 220,
"g": 216,
"b": 130
},
"hsl": {
"h": 57.333,
"s": 56.25,
"l": 68.627
},
"oklch": {
"l": 0.86661,
"c": 0.10814,
"h": 106.1
},
"luminance": 0.65939
}Semantic roles & 50–950 ramp
primary
#DCD882
secondary
#5054B3
accent
#29C422
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#161510
muted
#848480