#fef406 ≈ Cadmium Yellow
#fef406 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 99.61% red, 95.69% green and 2.35% blue; printed in CMYK it uses 0% cyan, 3.94% magenta, 97.64% yellow and 0.39% black. Its hue angle is 57.58°, with 99.2% saturation and 50.98% 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.16:1 (WCAG AAA). The closest named color is Cadmium Yellow (#fff600), ΔE 0.45.
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.8579 |
Shades
#fef406 mixed progressively with black.
Tints
#fef406 mixed progressively with white.
Tones
#fef406 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef406 {
color: #fef406;
}
.bg-fef406 {
background-color: #fef406;
color: #000000;
}
.border-fef406 {
border: 2px solid #fef406;
}
:root {
--color-primary: #fef406;
--color-primary-rgb: 254 244 6;
--color-primary-hsl: 58 99% 51%;
}
.gradient-fef406 {
background: linear-gradient(135deg, #fef406, #8cfe06);
}
.shadow-fef406 {
box-shadow: 0 8px 24px rgb(254 244 6 / 0.35);
}
Cadmium Yellow
#fef406 rgb(254, 244, 6) hsl(58, 99%, 51%) Cadmium Yellow
#0610fe rgb(6, 16, 254) hsl(238, 99%, 51%) Blue
#06fef4 rgb(6, 254, 244) hsl(178, 99%, 51%) Turquoise Blue
#f406fe rgb(244, 6, 254) hsl(298, 99%, 51%) Fuchsia