#f2e2aa ≈ Vanilla
#f2e2aa is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 88.63% green and 66.67% blue; printed in CMYK it uses 0% cyan, 6.61% magenta, 29.75% yellow and 5.1% black. Its hue angle is 46.67°, with 73.47% saturation and 80.78% 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 16.23:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 0.99.
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.7617 |
Shades
#f2e2aa mixed progressively with black.
Tints
#f2e2aa mixed progressively with white.
Tones
#f2e2aa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e2aa {
color: #f2e2aa;
}
.bg-f2e2aa {
background-color: #f2e2aa;
color: #000000;
}
.border-f2e2aa {
border: 2px solid #f2e2aa;
}
:root {
--color-primary: #f2e2aa;
--color-primary-rgb: 242 226 170;
--color-primary-hsl: 47 73% 81%;
}
.gradient-f2e2aa {
background: linear-gradient(135deg, #f2e2aa, #def2aa);
}
.shadow-f2e2aa {
box-shadow: 0 8px 24px rgb(242 226 170 / 0.35);
}
Vanilla
#f2e2aa rgb(242, 226, 170) hsl(47, 73%, 81%) Vanilla
#aabaf2 rgb(170, 186, 242) hsl(227, 73%, 81%) Wild Blue Yonder
#aaf2e2 rgb(170, 242, 226) hsl(167, 73%, 81%) Magic Mint
#e2aaf2 rgb(226, 170, 242) hsl(287, 73%, 81%) Mauve