#f2ffac ≈ Pastel Yellow
#f2ffac is a color from the yellow-green family, with very high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 100% green and 67.45% blue; printed in CMYK it uses 5.1% cyan, 0% magenta, 32.55% yellow and 0% black. Its hue angle is 69.4°, with 100% saturation and 83.73% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and soft pastel palettes. Black text on this color reaches a contrast ratio of 19.68:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 4.87.
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.9338 |
Shades
#f2ffac mixed progressively with black.
Tints
#f2ffac mixed progressively with white.
Tones
#f2ffac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2ffac {
color: #f2ffac;
}
.bg-f2ffac {
background-color: #f2ffac;
color: #000000;
}
.border-f2ffac {
border: 2px solid #f2ffac;
}
:root {
--color-primary: #f2ffac;
--color-primary-rgb: 242 255 172;
--color-primary-hsl: 69 100% 84%;
}
.gradient-f2ffac {
background: linear-gradient(135deg, #f2ffac, #c9ffac);
}
.shadow-f2ffac {
box-shadow: 0 8px 24px rgb(242 255 172 / 0.35);
}
Pastel Yellow
#f2ffac rgb(242, 255, 172) hsl(69, 100%, 84%) Pastel Yellow
#b9acff rgb(185, 172, 255) hsl(249, 100%, 84%) Mauve
#acf2ff rgb(172, 242, 255) hsl(189, 100%, 84%) Pale Turquoise
#ffacf2 rgb(255, 172, 242) hsl(309, 100%, 84%) Plum