#ffecab ≈ Vanilla
#ffecab is a color from the yellow family, with very high lightness and moderate saturation. In the RGB model it is made of 100% red, 92.55% green and 67.06% blue; printed in CMYK it uses 0% cyan, 7.45% magenta, 32.94% yellow and 0% black. Its hue angle is 46.43°, with 100% saturation and 83.53% 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 17.84:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 2.51.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8419 |
Shades
#ffecab mixed progressively with black.
Tints
#ffecab mixed progressively with white.
Tones
#ffecab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffecab {
color: #ffecab;
}
.bg-ffecab {
background-color: #ffecab;
color: #000000;
}
.border-ffecab {
border: 2px solid #ffecab;
}
:root {
--color-primary: #ffecab;
--color-primary-rgb: 255 236 171;
--color-primary-hsl: 46 100% 84%;
}
.gradient-ffecab {
background: linear-gradient(135deg, #ffecab, #e8ffab);
}
.shadow-ffecab {
box-shadow: 0 8px 24px rgb(255 236 171 / 0.35);
}
Vanilla
#ffecab rgb(255, 236, 171) hsl(46, 100%, 84%) Vanilla
#abbeff rgb(171, 190, 255) hsl(226, 100%, 84%) Light Steel Blue
#abffec rgb(171, 255, 236) hsl(166, 100%, 84%) Magic Mint
#ecabff rgb(236, 171, 255) hsl(286, 100%, 84%) Mauve