#ecdd98 ≈ Vanilla
#ecdd98 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 86.67% green and 59.61% blue; printed in CMYK it uses 0% cyan, 6.36% magenta, 35.59% yellow and 7.45% black. Its hue angle is 49.29°, with 68.85% saturation and 76.08% 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 15.36:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 2.96.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7181 |
Shades
#ecdd98 mixed progressively with black.
Tints
#ecdd98 mixed progressively with white.
Tones
#ecdd98 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecdd98 {
color: #ecdd98;
}
.bg-ecdd98 {
background-color: #ecdd98;
color: #000000;
}
.border-ecdd98 {
border: 2px solid #ecdd98;
}
:root {
--color-primary: #ecdd98;
--color-primary-rgb: 236 221 152;
--color-primary-hsl: 49 69% 76%;
}
.gradient-ecdd98 {
background: linear-gradient(135deg, #ecdd98, #d1ec98);
}
.shadow-ecdd98 {
box-shadow: 0 8px 24px rgb(236 221 152 / 0.35);
}
Vanilla
#ecdd98 rgb(236, 221, 152) hsl(49, 69%, 76%) Vanilla
#98a7ec rgb(152, 167, 236) hsl(229, 69%, 76%) Wild Blue Yonder
#98ecdd rgb(152, 236, 221) hsl(169, 69%, 76%) Magic Mint
#dd98ec rgb(221, 152, 236) hsl(289, 69%, 76%) Plum