#fef305 ≈ Cadmium Yellow
#fef305 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.29% green and 1.96% blue; printed in CMYK it uses 0% cyan, 4.33% magenta, 98.03% yellow and 0.39% black. Its hue angle is 57.35°, with 99.2% saturation and 50.78% 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.04:1 (WCAG AAA). The closest named color is Cadmium Yellow (#fff600), ΔE 0.71.
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.8518 |
Shades
#fef305 mixed progressively with black.
Tints
#fef305 mixed progressively with white.
Tones
#fef305 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef305 {
color: #fef305;
}
.bg-fef305 {
background-color: #fef305;
color: #000000;
}
.border-fef305 {
border: 2px solid #fef305;
}
:root {
--color-primary: #fef305;
--color-primary-rgb: 254 243 5;
--color-primary-hsl: 57 99% 51%;
}
.gradient-fef305 {
background: linear-gradient(135deg, #fef305, #8cfe05);
}
.shadow-fef305 {
box-shadow: 0 8px 24px rgb(254 243 5 / 0.35);
}
Cadmium Yellow
#fef305 rgb(254, 243, 5) hsl(57, 99%, 51%) Cadmium Yellow
#0510fe rgb(5, 16, 254) hsl(237, 99%, 51%) Blue
#05fef3 rgb(5, 254, 243) hsl(177, 99%, 51%) Turquoise Blue
#f305fe rgb(243, 5, 254) hsl(297, 99%, 51%) Fuchsia