#fef20a ≈ Cadmium Yellow
#fef20a 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 3.92% blue; printed in CMYK it uses 0% cyan, 4.72% magenta, 96.06% yellow and 0.39% black. Its hue angle is 57.05°, with 99.19% saturation and 51.76% 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.92:1 (WCAG AAA). The closest named color is Cadmium Yellow (#fff600), ΔE 0.99.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.846 |
Shades
#fef20a mixed progressively with black.
Tints
#fef20a mixed progressively with white.
Tones
#fef20a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef20a {
color: #fef20a;
}
.bg-fef20a {
background-color: #fef20a;
color: #000000;
}
.border-fef20a {
border: 2px solid #fef20a;
}
:root {
--color-primary: #fef20a;
--color-primary-rgb: 254 242 10;
--color-primary-hsl: 57 99% 52%;
}
.gradient-fef20a {
background: linear-gradient(135deg, #fef20a, #90fe0a);
}
.shadow-fef20a {
box-shadow: 0 8px 24px rgb(254 242 10 / 0.35);
}
Cadmium Yellow
#fef20a rgb(254, 242, 10) hsl(57, 99%, 52%) Cadmium Yellow
#0a16fe rgb(10, 22, 254) hsl(237, 99%, 52%) Blue
#0afef2 rgb(10, 254, 242) hsl(177, 99%, 52%) Turquoise Blue
#f20afe rgb(242, 10, 254) hsl(297, 99%, 52%) Fuchsia