#d5cc8f ≈ Vanilla
#d5cc8f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.53% red, 80% green and 56.08% blue; printed in CMYK it uses 0% cyan, 4.23% magenta, 32.86% yellow and 16.47% black. Its hue angle is 52.29°, with 45.45% saturation and 69.8% 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 12.86:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 6.3.
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.5932 |
Shades
#d5cc8f mixed progressively with black.
Tints
#d5cc8f mixed progressively with white.
Tones
#d5cc8f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5cc8f {
color: #d5cc8f;
}
.bg-d5cc8f {
background-color: #d5cc8f;
color: #000000;
}
.border-d5cc8f {
border: 2px solid #d5cc8f;
}
:root {
--color-primary: #d5cc8f;
--color-primary-rgb: 213 204 143;
--color-primary-hsl: 52 45% 70%;
}
.gradient-d5cc8f {
background: linear-gradient(135deg, #d5cc8f, #bbd58f);
}
.shadow-d5cc8f {
box-shadow: 0 8px 24px rgb(213 204 143 / 0.35);
}
Vanilla
#d5cc8f rgb(213, 204, 143) hsl(52, 45%, 70%) Vanilla
#8f98d5 rgb(143, 152, 213) hsl(232, 45%, 70%) Wild Blue Yonder
#8fd5cc rgb(143, 213, 204) hsl(172, 45%, 70%) Medium Turquoise
#cc8fd5 rgb(204, 143, 213) hsl(292, 45%, 70%) Wisteria