#f9ff98 ≈ Pastel Yellow
#f9ff98 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.65% red, 100% green and 59.61% blue; printed in CMYK it uses 2.35% cyan, 0% magenta, 40.39% yellow and 0% black. Its hue angle is 63.5°, with 100% saturation and 79.8% 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.79:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.47.
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.9393 |
Shades
#f9ff98 mixed progressively with black.
Tints
#f9ff98 mixed progressively with white.
Tones
#f9ff98 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f9ff98 {
color: #f9ff98;
}
.bg-f9ff98 {
background-color: #f9ff98;
color: #000000;
}
.border-f9ff98 {
border: 2px solid #f9ff98;
}
:root {
--color-primary: #f9ff98;
--color-primary-rgb: 249 255 152;
--color-primary-hsl: 64 100% 80%;
}
.gradient-f9ff98 {
background: linear-gradient(135deg, #f9ff98, #c5ff98);
}
.shadow-f9ff98 {
box-shadow: 0 8px 24px rgb(249 255 152 / 0.35);
}
Pastel Yellow
#f9ff98 rgb(249, 255, 152) hsl(64, 100%, 80%) Pastel Yellow
#9e98ff rgb(158, 152, 255) hsl(244, 100%, 80%) Wild Blue Yonder
#98f9ff rgb(152, 249, 255) hsl(184, 100%, 80%) Electric Blue
#ff98f9 rgb(255, 152, 249) hsl(304, 100%, 80%) Violet