#f0ffac ≈ Pastel Yellow
#f0ffac is a color from the yellow-green family, with very high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 100% green and 67.45% blue; printed in CMYK it uses 5.88% cyan, 0% magenta, 32.55% yellow and 0% black. Its hue angle is 70.84°, 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.6:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 5.25.
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.9302 |
Shades
#f0ffac mixed progressively with black.
Tints
#f0ffac mixed progressively with white.
Tones
#f0ffac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0ffac {
color: #f0ffac;
}
.bg-f0ffac {
background-color: #f0ffac;
color: #000000;
}
.border-f0ffac {
border: 2px solid #f0ffac;
}
:root {
--color-primary: #f0ffac;
--color-primary-rgb: 240 255 172;
--color-primary-hsl: 71 100% 84%;
}
.gradient-f0ffac {
background: linear-gradient(135deg, #f0ffac, #c7ffac);
}
.shadow-f0ffac {
box-shadow: 0 8px 24px rgb(240 255 172 / 0.35);
}
Pastel Yellow
#f0ffac rgb(240, 255, 172) hsl(71, 100%, 84%) Pastel Yellow
#bbacff rgb(187, 172, 255) hsl(251, 100%, 84%) Mauve
#acf0ff rgb(172, 240, 255) hsl(191, 100%, 84%) Non-Photo Blue
#ffacf0 rgb(255, 172, 240) hsl(311, 100%, 84%) Plum