#dcd1a2 ≈ Vanilla
#dcd1a2 is a color from the yellow family, with high lightness and muted saturation. In the RGB model it is made of 86.27% red, 81.96% green and 63.53% blue; printed in CMYK it uses 0% cyan, 5% magenta, 26.36% yellow and 13.73% black. Its hue angle is 48.62°, with 45.31% saturation and 74.9% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 13.69:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 5.17.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6343 |
Shades
#dcd1a2 mixed progressively with black.
Tints
#dcd1a2 mixed progressively with white.
Tones
#dcd1a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd1a2 {
color: #dcd1a2;
}
.bg-dcd1a2 {
background-color: #dcd1a2;
color: #000000;
}
.border-dcd1a2 {
border: 2px solid #dcd1a2;
}
:root {
--color-primary: #dcd1a2;
--color-primary-rgb: 220 209 162;
--color-primary-hsl: 49 45% 75%;
}
.gradient-dcd1a2 {
background: linear-gradient(135deg, #dcd1a2, #cadca2);
}
.shadow-dcd1a2 {
box-shadow: 0 8px 24px rgb(220 209 162 / 0.35);
}
Vanilla
#dcd1a2 rgb(220, 209, 162) hsl(49, 45%, 75%) Vanilla
#a2addc rgb(162, 173, 220) hsl(229, 45%, 75%) Wild Blue Yonder
#a2dcd1 rgb(162, 220, 209) hsl(169, 45%, 75%) Pale Turquoise
#d1a2dc rgb(209, 162, 220) hsl(289, 45%, 75%) Wisteria