#f7fa97 ≈ Pastel Yellow
#f7fa97 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 96.86% red, 98.04% green and 59.22% blue; printed in CMYK it uses 1.2% cyan, 0% magenta, 39.6% yellow and 1.96% black. Its hue angle is 61.82°, with 90.83% saturation and 78.63% 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 19.08:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.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.9038 |
Shades
#f7fa97 mixed progressively with black.
Tints
#f7fa97 mixed progressively with white.
Tones
#f7fa97 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f7fa97 {
color: #f7fa97;
}
.bg-f7fa97 {
background-color: #f7fa97;
color: #000000;
}
.border-f7fa97 {
border: 2px solid #f7fa97;
}
:root {
--color-primary: #f7fa97;
--color-primary-rgb: 247 250 151;
--color-primary-hsl: 62 91% 79%;
}
.gradient-f7fa97 {
background: linear-gradient(135deg, #f7fa97, #c6fa97);
}
.shadow-f7fa97 {
box-shadow: 0 8px 24px rgb(247 250 151 / 0.35);
}
Pastel Yellow
#f7fa97 rgb(247, 250, 151) hsl(62, 91%, 79%) Pastel Yellow
#9a97fa rgb(154, 151, 250) hsl(242, 91%, 79%) Wild Blue Yonder
#97f7fa rgb(151, 247, 250) hsl(182, 91%, 79%) Electric Blue
#fa97f7 rgb(250, 151, 247) hsl(302, 91%, 79%) Violet