#ffecb3 ≈ Vanilla
#ffecb3 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 70.2% blue; printed in CMYK it uses 0% cyan, 7.45% magenta, 29.8% yellow and 0% black. Its hue angle is 45°, with 100% saturation and 85.1% 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.9:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 2.37.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffffcc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8451 |
Shades
#ffecb3 mixed progressively with black.
Tints
#ffecb3 mixed progressively with white.
Tones
#ffecb3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffecb3 {
color: #ffecb3;
}
.bg-ffecb3 {
background-color: #ffecb3;
color: #000000;
}
.border-ffecb3 {
border: 2px solid #ffecb3;
}
:root {
--color-primary: #ffecb3;
--color-primary-rgb: 255 236 179;
--color-primary-hsl: 45 100% 85%;
}
.gradient-ffecb3 {
background: linear-gradient(135deg, #ffecb3, #ecffb3);
}
.shadow-ffecb3 {
box-shadow: 0 8px 24px rgb(255 236 179 / 0.35);
}
Vanilla
#ffecb3 rgb(255, 236, 179) hsl(45, 100%, 85%) Vanilla
#b3c6ff rgb(179, 198, 255) hsl(225, 100%, 85%) Periwinkle
#b3ffec rgb(179, 255, 236) hsl(165, 100%, 85%) Magic Mint
#ecb3ff rgb(236, 179, 255) hsl(285, 100%, 85%) Mauve