#f2f997 ≈ Pastel Yellow
#f2f997 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 97.65% green and 59.22% blue; printed in CMYK it uses 2.81% cyan, 0% magenta, 39.36% yellow and 2.35% black. Its hue angle is 64.29°, with 89.09% saturation and 78.43% 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 18.77:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.21.
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.8886 |
Shades
#f2f997 mixed progressively with black.
Tints
#f2f997 mixed progressively with white.
Tones
#f2f997 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2f997 {
color: #f2f997;
}
.bg-f2f997 {
background-color: #f2f997;
color: #000000;
}
.border-f2f997 {
border: 2px solid #f2f997;
}
:root {
--color-primary: #f2f997;
--color-primary-rgb: 242 249 151;
--color-primary-hsl: 64 89% 78%;
}
.gradient-f2f997 {
background: linear-gradient(135deg, #f2f997, #c1f997);
}
.shadow-f2f997 {
box-shadow: 0 8px 24px rgb(242 249 151 / 0.35);
}
Pastel Yellow
#f2f997 rgb(242, 249, 151) hsl(64, 89%, 78%) Pastel Yellow
#9e97f9 rgb(158, 151, 249) hsl(244, 89%, 78%) Wild Blue Yonder
#97f2f9 rgb(151, 242, 249) hsl(184, 89%, 78%) Electric Blue
#f997f2 rgb(249, 151, 242) hsl(304, 89%, 78%) Violet