#f9ff9c ≈ Pastel Yellow
#f9ff9c 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 61.18% blue; printed in CMYK it uses 2.35% cyan, 0% magenta, 38.82% yellow and 0% black. Its hue angle is 63.64°, with 100% saturation and 80.59% 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.81:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.68.
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.9406 |
Shades
#f9ff9c mixed progressively with black.
Tints
#f9ff9c mixed progressively with white.
Tones
#f9ff9c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f9ff9c {
color: #f9ff9c;
}
.bg-f9ff9c {
background-color: #f9ff9c;
color: #000000;
}
.border-f9ff9c {
border: 2px solid #f9ff9c;
}
:root {
--color-primary: #f9ff9c;
--color-primary-rgb: 249 255 156;
--color-primary-hsl: 64 100% 81%;
}
.gradient-f9ff9c {
background: linear-gradient(135deg, #f9ff9c, #c7ff9c);
}
.shadow-f9ff9c {
box-shadow: 0 8px 24px rgb(249 255 156 / 0.35);
}
Pastel Yellow
#f9ff9c rgb(249, 255, 156) hsl(64, 100%, 81%) Pastel Yellow
#a29cff rgb(162, 156, 255) hsl(244, 100%, 81%) Wild Blue Yonder
#9cf9ff rgb(156, 249, 255) hsl(184, 100%, 81%) Electric Blue
#ff9cf9 rgb(255, 156, 249) hsl(304, 100%, 81%) Violet