#f2dfa6 ≈ Vanilla
#f2dfa6 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 87.45% green and 65.1% blue; printed in CMYK it uses 0% cyan, 7.85% magenta, 31.4% yellow and 5.1% black. Its hue angle is 45°, with 74.51% saturation and 80% 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.88:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 1.97.
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.7441 |
Shades
#f2dfa6 mixed progressively with black.
Tints
#f2dfa6 mixed progressively with white.
Tones
#f2dfa6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2dfa6 {
color: #f2dfa6;
}
.bg-f2dfa6 {
background-color: #f2dfa6;
color: #000000;
}
.border-f2dfa6 {
border: 2px solid #f2dfa6;
}
:root {
--color-primary: #f2dfa6;
--color-primary-rgb: 242 223 166;
--color-primary-hsl: 45 75% 80%;
}
.gradient-f2dfa6 {
background: linear-gradient(135deg, #f2dfa6, #dff2a6);
}
.shadow-f2dfa6 {
box-shadow: 0 8px 24px rgb(242 223 166 / 0.35);
}
Vanilla
#f2dfa6 rgb(242, 223, 166) hsl(45, 75%, 80%) Vanilla
#a6b9f2 rgb(166, 185, 242) hsl(225, 75%, 80%) Wild Blue Yonder
#a6f2df rgb(166, 242, 223) hsl(165, 75%, 80%) Magic Mint
#dfa6f2 rgb(223, 166, 242) hsl(285, 75%, 80%) Mauve