#f2e7ab ≈ Vanilla
#f2e7ab is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 90.59% green and 67.06% blue; printed in CMYK it uses 0% cyan, 4.55% magenta, 29.34% yellow and 5.1% black. Its hue angle is 50.7°, with 73.2% saturation and 80.98% 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.79:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 1.1.
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.7897 |
Shades
#f2e7ab mixed progressively with black.
Tints
#f2e7ab mixed progressively with white.
Tones
#f2e7ab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e7ab {
color: #f2e7ab;
}
.bg-f2e7ab {
background-color: #f2e7ab;
color: #000000;
}
.border-f2e7ab {
border: 2px solid #f2e7ab;
}
:root {
--color-primary: #f2e7ab;
--color-primary-rgb: 242 231 171;
--color-primary-hsl: 51 73% 81%;
}
.gradient-f2e7ab {
background: linear-gradient(135deg, #f2e7ab, #daf2ab);
}
.shadow-f2e7ab {
box-shadow: 0 8px 24px rgb(242 231 171 / 0.35);
}
Vanilla
#f2e7ab rgb(242, 231, 171) hsl(51, 73%, 81%) Vanilla
#abb6f2 rgb(171, 182, 242) hsl(231, 73%, 81%) Wild Blue Yonder
#abf2e7 rgb(171, 242, 231) hsl(171, 73%, 81%) Pale Turquoise
#e7abf2 rgb(231, 171, 242) hsl(291, 73%, 81%) Mauve