#fffc9f ≈ Pastel Yellow
#fffc9f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 100% red, 98.82% green and 62.35% blue; printed in CMYK it uses 0% cyan, 1.18% magenta, 37.65% yellow and 0% black. Its hue angle is 58.13°, with 100% saturation and 81.18% 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.68:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.59.
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.9338 |
Shades
#fffc9f mixed progressively with black.
Tints
#fffc9f mixed progressively with white.
Tones
#fffc9f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fffc9f {
color: #fffc9f;
}
.bg-fffc9f {
background-color: #fffc9f;
color: #000000;
}
.border-fffc9f {
border: 2px solid #fffc9f;
}
:root {
--color-primary: #fffc9f;
--color-primary-rgb: 255 252 159;
--color-primary-hsl: 58 100% 81%;
}
.gradient-fffc9f {
background: linear-gradient(135deg, #fffc9f, #d2ff9f);
}
.shadow-fffc9f {
box-shadow: 0 8px 24px rgb(255 252 159 / 0.35);
}
Pastel Yellow
#fffc9f rgb(255, 252, 159) hsl(58, 100%, 81%) Pastel Yellow
#9fa2ff rgb(159, 162, 255) hsl(238, 100%, 81%) Wild Blue Yonder
#9ffffc rgb(159, 255, 252) hsl(178, 100%, 81%) Celeste
#fc9fff rgb(252, 159, 255) hsl(298, 100%, 81%) Violet