#DCD171#DCD171
#DCD171 is a very light, moderate yellow. Relative luminance 0.620; OKLCH L 85.0% C 0.119 H 102.8°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD171 |
|---|---|
| RGB | rgb(220, 209, 113) |
| HSL | hsl(54, 60%, 65%) |
| HSV | hsv(54, 49%, 86%) |
| CMYK | cmyk(0%, 5%, 48.6%, 13.7%) |
| CIE-LAB | lab(82.92, -8.97, 48.61) |
| CIE-LCH | lch(82.92, 49.43, 100.45°) |
| OKLab | oklab(84.97% -0.0262 0.1157) |
| OKLCH | oklch(84.97% 0.119 102.8) |
| XYZ | xyz(55.2978, 62.0106, 24.6759) |
| Luminance | 0.6201 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 4.21
Sand (survey)
#E2CA76
ΔE00 4.37
Khaki (CSS)
#F0E68C
ΔE00 4.95
Dull Yellow
#EEDC5B
ΔE00 5.24
Greenish Beige
#C9D179
ΔE00 5.42
Wheat (survey)
#FBDD7E
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD171 #717CDC
analogous
#DC9C71 #DCD171 #B1DC71
triadic
#DCD171 #71DCD1 #D171DC
tetradic
#DCD171 #71DC9C #717CDC #DC71B1
square
#DCD171 #71DC9C #717CDC #DC71B1
split-complementary
#DCD171 #71B1DC #9C71DC
monochromatic
#A99C2A #D0C140 #DCD171 #E8E1A2 #F4F1D3
Accessibility & contrast
On white
1.57
#DCD171 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.40
#DCD171 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD171
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD171 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD171 | 1.00 | 1.57 | 13.40 | 13.40 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0CB69
Deuteranopia (green-blind)
#E4D175
Tritanopia (blue-blind)
#EAC6BB
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #dcd171; /* rgb */ color: rgb(220, 209, 113); /* oklch */ color: oklch(85.0% 0.119 102.8);
Tailwind
colors: {
custom: {
50: '#e9de9c',
500: '#dcd171',
950: '#000000',
},
}SCSS
$custom: #dcd171; $custom-light: #e9de9c; $custom-dark: #000000;
JSON
{
"hex": "#dcd171",
"rgb": {
"r": 220,
"g": 209,
"b": 113
},
"hsl": {
"h": 53.832,
"s": 60.452,
"l": 65.294
},
"oklch": {
"l": 0.84965,
"c": 0.1186,
"h": 102.8
},
"luminance": 0.62009
}Semantic roles & 50–950 ramp
primary
#DCD171
secondary
#4650AC
accent
#2FC81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F