#fef228 ≈ Aureolin
#fef228 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 99.61% red, 94.9% green and 15.69% blue; printed in CMYK it uses 0% cyan, 4.72% magenta, 84.25% yellow and 0.39% black. Its hue angle is 56.64°, with 99.07% saturation and 57.65% 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.95:1 (WCAG AAA). The closest named color is Aureolin (#fdee00), ΔE 1.33.
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.8473 |
Shades
#fef228 mixed progressively with black.
Tints
#fef228 mixed progressively with white.
Tones
#fef228 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef228 {
color: #fef228;
}
.bg-fef228 {
background-color: #fef228;
color: #000000;
}
.border-fef228 {
border: 2px solid #fef228;
}
:root {
--color-primary: #fef228;
--color-primary-rgb: 254 242 40;
--color-primary-hsl: 57 99% 58%;
}
.gradient-fef228 {
background: linear-gradient(135deg, #fef228, #9ffe28);
}
.shadow-fef228 {
box-shadow: 0 8px 24px rgb(254 242 40 / 0.35);
}
Aureolin
#fef228 rgb(254, 242, 40) hsl(57, 99%, 58%) Aureolin
#2834fe rgb(40, 52, 254) hsl(237, 99%, 58%) Han Purple
#28fef2 rgb(40, 254, 242) hsl(177, 99%, 58%) Turquoise Blue
#f228fe rgb(242, 40, 254) hsl(297, 99%, 58%) Fuchsia