#fef981 ≈ Pastel Yellow
#fef981 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 97.65% green and 50.59% blue; printed in CMYK it uses 0% cyan, 1.97% magenta, 49.21% yellow and 0.39% black. Its hue angle is 57.6°, with 98.43% saturation and 75.1% 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.08:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.86.
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.9041 |
Shades
#fef981 mixed progressively with black.
Tints
#fef981 mixed progressively with white.
Tones
#fef981 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef981 {
color: #fef981;
}
.bg-fef981 {
background-color: #fef981;
color: #000000;
}
.border-fef981 {
border: 2px solid #fef981;
}
:root {
--color-primary: #fef981;
--color-primary-rgb: 254 249 129;
--color-primary-hsl: 58 98% 75%;
}
.gradient-fef981 {
background: linear-gradient(135deg, #fef981, #c5fe81);
}
.shadow-fef981 {
box-shadow: 0 8px 24px rgb(254 249 129 / 0.35);
}
Pastel Yellow
#fef981 rgb(254, 249, 129) hsl(58, 98%, 75%) Pastel Yellow
#8186fe rgb(129, 134, 254) hsl(238, 98%, 75%) Cornflower Blue
#81fef9 rgb(129, 254, 249) hsl(178, 98%, 75%) Electric Blue
#f981fe rgb(249, 129, 254) hsl(298, 98%, 75%) Fuchsia Pink