#dfd7a2 ≈ Vanilla
#dfd7a2 is a color from the yellow family, with high lightness and muted saturation. In the RGB model it is made of 87.45% red, 84.31% green and 63.53% blue; printed in CMYK it uses 0% cyan, 3.59% magenta, 27.35% yellow and 12.55% black. Its hue angle is 52.13°, with 48.8% saturation and 75.49% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 14.38:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 3.94.
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.669 |
Shades
#dfd7a2 mixed progressively with black.
Tints
#dfd7a2 mixed progressively with white.
Tones
#dfd7a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd7a2 {
color: #dfd7a2;
}
.bg-dfd7a2 {
background-color: #dfd7a2;
color: #000000;
}
.border-dfd7a2 {
border: 2px solid #dfd7a2;
}
:root {
--color-primary: #dfd7a2;
--color-primary-rgb: 223 215 162;
--color-primary-hsl: 52 49% 75%;
}
.gradient-dfd7a2 {
background: linear-gradient(135deg, #dfd7a2, #c9dfa2);
}
.shadow-dfd7a2 {
box-shadow: 0 8px 24px rgb(223 215 162 / 0.35);
}
Vanilla
#dfd7a2 rgb(223, 215, 162) hsl(52, 49%, 75%) Vanilla
#a2aadf rgb(162, 170, 223) hsl(232, 49%, 75%) Wild Blue Yonder
#a2dfd7 rgb(162, 223, 215) hsl(172, 49%, 75%) Pale Turquoise
#d7a2df rgb(215, 162, 223) hsl(292, 49%, 75%) Plum