#f8fa8a ≈ Pastel Yellow
#f8fa8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.25% red, 98.04% green and 54.12% blue; printed in CMYK it uses 0.8% cyan, 0% magenta, 44.8% yellow and 1.96% black. Its hue angle is 61.07°, with 91.8% saturation and 76.08% 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.03:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.5.
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.9016 |
Shades
#f8fa8a mixed progressively with black.
Tints
#f8fa8a mixed progressively with white.
Tones
#f8fa8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8fa8a {
color: #f8fa8a;
}
.bg-f8fa8a {
background-color: #f8fa8a;
color: #000000;
}
.border-f8fa8a {
border: 2px solid #f8fa8a;
}
:root {
--color-primary: #f8fa8a;
--color-primary-rgb: 248 250 138;
--color-primary-hsl: 61 92% 76%;
}
.gradient-f8fa8a {
background: linear-gradient(135deg, #f8fa8a, #c0fa8a);
}
.shadow-f8fa8a {
box-shadow: 0 8px 24px rgb(248 250 138 / 0.35);
}
Pastel Yellow
#f8fa8a rgb(248, 250, 138) hsl(61, 92%, 76%) Pastel Yellow
#8c8afa rgb(140, 138, 250) hsl(241, 92%, 76%) Medium Purple
#8af8fa rgb(138, 248, 250) hsl(181, 92%, 76%) Electric Blue
#fa8af8 rgb(250, 138, 248) hsl(301, 92%, 76%) Violet