#fef47f ≈ Pastel Yellow
#fef47f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 95.69% green and 49.8% blue; printed in CMYK it uses 0% cyan, 3.94% magenta, 50% yellow and 0.39% black. Its hue angle is 55.28°, with 98.45% saturation and 74.71% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 18.46:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.69.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.873 |
Shades
#fef47f mixed progressively with black.
Tints
#fef47f mixed progressively with white.
Tones
#fef47f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef47f {
color: #fef47f;
}
.bg-fef47f {
background-color: #fef47f;
color: #000000;
}
.border-fef47f {
border: 2px solid #fef47f;
}
:root {
--color-primary: #fef47f;
--color-primary-rgb: 254 244 127;
--color-primary-hsl: 55 98% 75%;
}
.gradient-fef47f {
background: linear-gradient(135deg, #fef47f, #c8fe7f);
}
.shadow-fef47f {
box-shadow: 0 8px 24px rgb(254 244 127 / 0.35);
}
Pastel Yellow
#fef47f rgb(254, 244, 127) hsl(55, 98%, 75%) Pastel Yellow
#7f89fe rgb(127, 137, 254) hsl(235, 98%, 75%) Cornflower Blue
#7ffef4 rgb(127, 254, 244) hsl(175, 98%, 75%) Turquoise Blue
#f47ffe rgb(244, 127, 254) hsl(295, 98%, 75%) Fuchsia Pink