#fef8aa ≈ Pastel Yellow
#fef8aa is a color from the yellow family, with very high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 97.25% green and 66.67% blue; printed in CMYK it uses 0% cyan, 2.36% magenta, 33.07% yellow and 0.39% black. Its hue angle is 55.71°, with 97.67% saturation and 83.14% 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.22:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 4.15.
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.9111 |
Shades
#fef8aa mixed progressively with black.
Tints
#fef8aa mixed progressively with white.
Tones
#fef8aa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef8aa {
color: #fef8aa;
}
.bg-fef8aa {
background-color: #fef8aa;
color: #000000;
}
.border-fef8aa {
border: 2px solid #fef8aa;
}
:root {
--color-primary: #fef8aa;
--color-primary-rgb: 254 248 170;
--color-primary-hsl: 56 98% 83%;
}
.gradient-fef8aa {
background: linear-gradient(135deg, #fef8aa, #dafeaa);
}
.shadow-fef8aa {
box-shadow: 0 8px 24px rgb(254 248 170 / 0.35);
}
Pastel Yellow
#fef8aa rgb(254, 248, 170) hsl(56, 98%, 83%) Pastel Yellow
#aab0fe rgb(170, 176, 254) hsl(236, 98%, 83%) Wild Blue Yonder
#aafef8 rgb(170, 254, 248) hsl(176, 98%, 83%) Celeste
#f8aafe rgb(248, 170, 254) hsl(296, 98%, 83%) Mauve