#f0fa97 ≈ Pastel Yellow
#f0fa97 is a color from the yellow-green family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 98.04% green and 59.22% blue; printed in CMYK it uses 4% cyan, 0% magenta, 39.6% yellow and 1.96% black. Its hue angle is 66.06°, with 90.83% saturation and 78.63% 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 18.83:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.74.
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.8913 |
Shades
#f0fa97 mixed progressively with black.
Tints
#f0fa97 mixed progressively with white.
Tones
#f0fa97 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0fa97 {
color: #f0fa97;
}
.bg-f0fa97 {
background-color: #f0fa97;
color: #000000;
}
.border-f0fa97 {
border: 2px solid #f0fa97;
}
:root {
--color-primary: #f0fa97;
--color-primary-rgb: 240 250 151;
--color-primary-hsl: 66 91% 79%;
}
.gradient-f0fa97 {
background: linear-gradient(135deg, #f0fa97, #bffa97);
}
.shadow-f0fa97 {
box-shadow: 0 8px 24px rgb(240 250 151 / 0.35);
}
Pastel Yellow
#f0fa97 rgb(240, 250, 151) hsl(66, 91%, 79%) Pastel Yellow
#a197fa rgb(161, 151, 250) hsl(246, 91%, 79%) Wild Blue Yonder
#97f0fa rgb(151, 240, 250) hsl(186, 91%, 79%) Electric Blue
#fa97f0 rgb(250, 151, 240) hsl(306, 91%, 79%) Violet