#fef528 ≈ Cadmium Yellow
#fef528 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 99.61% red, 96.08% green and 15.69% blue; printed in CMYK it uses 0% cyan, 3.54% magenta, 84.25% yellow and 0.39% black. Its hue angle is 57.48°, 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 18.31:1 (WCAG AAA). The closest named color is Cadmium Yellow (#fff600), ΔE 1.02.
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.8653 |
Shades
#fef528 mixed progressively with black.
Tints
#fef528 mixed progressively with white.
Tones
#fef528 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef528 {
color: #fef528;
}
.bg-fef528 {
background-color: #fef528;
color: #000000;
}
.border-fef528 {
border: 2px solid #fef528;
}
:root {
--color-primary: #fef528;
--color-primary-rgb: 254 245 40;
--color-primary-hsl: 57 99% 58%;
}
.gradient-fef528 {
background: linear-gradient(135deg, #fef528, #9cfe28);
}
.shadow-fef528 {
box-shadow: 0 8px 24px rgb(254 245 40 / 0.35);
}
Cadmium Yellow
#fef528 rgb(254, 245, 40) hsl(57, 99%, 58%) Cadmium Yellow
#2831fe rgb(40, 49, 254) hsl(237, 99%, 58%) Han Purple
#28fef5 rgb(40, 254, 245) hsl(177, 99%, 58%) Turquoise Blue
#f528fe rgb(245, 40, 254) hsl(297, 99%, 58%) Fuchsia