#fef042 ≈ Aureolin
#fef042 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 99.61% red, 94.12% green and 25.88% blue; printed in CMYK it uses 0% cyan, 5.51% magenta, 74.02% yellow and 0.39% black. Its hue angle is 55.53°, with 98.95% saturation and 62.75% 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 17.76:1 (WCAG AAA). The closest named color is Aureolin (#fdee00), ΔE 2.4.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8378 |
Shades
#fef042 mixed progressively with black.
Tints
#fef042 mixed progressively with white.
Tones
#fef042 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef042 {
color: #fef042;
}
.bg-fef042 {
background-color: #fef042;
color: #000000;
}
.border-fef042 {
border: 2px solid #fef042;
}
:root {
--color-primary: #fef042;
--color-primary-rgb: 254 240 66;
--color-primary-hsl: 56 99% 63%;
}
.gradient-fef042 {
background: linear-gradient(135deg, #fef042, #aefe42);
}
.shadow-fef042 {
box-shadow: 0 8px 24px rgb(254 240 66 / 0.35);
}
Aureolin
#fef042 rgb(254, 240, 66) hsl(56, 99%, 63%) Aureolin
#4250fe rgb(66, 80, 254) hsl(236, 99%, 63%) Majorelle Blue
#42fef0 rgb(66, 254, 240) hsl(176, 99%, 63%) Turquoise Blue
#f042fe rgb(240, 66, 254) hsl(296, 99%, 63%) Fuchsia