#fff52f ≈ Cadmium Yellow
#fff52f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 96.08% green and 18.43% blue; printed in CMYK it uses 0% cyan, 3.92% magenta, 81.57% yellow and 0% black. Its hue angle is 57.12°, with 100% saturation and 59.22% 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.35:1 (WCAG AAA). The closest named color is Cadmium Yellow (#fff600), ΔE 1.3.
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.8677 |
Shades
#fff52f mixed progressively with black.
Tints
#fff52f mixed progressively with white.
Tones
#fff52f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fff52f {
color: #fff52f;
}
.bg-fff52f {
background-color: #fff52f;
color: #000000;
}
.border-fff52f {
border: 2px solid #fff52f;
}
:root {
--color-primary: #fff52f;
--color-primary-rgb: 255 245 47;
--color-primary-hsl: 57 100% 59%;
}
.gradient-fff52f {
background: linear-gradient(135deg, #fff52f, #a1ff2f);
}
.shadow-fff52f {
box-shadow: 0 8px 24px rgb(255 245 47 / 0.35);
}
Cadmium Yellow
#fff52f rgb(255, 245, 47) hsl(57, 100%, 59%) Cadmium Yellow
#2f39ff rgb(47, 57, 255) hsl(237, 100%, 59%) Han Purple
#2ffff5 rgb(47, 255, 245) hsl(177, 100%, 59%) Turquoise Blue
#f52fff rgb(245, 47, 255) hsl(297, 100%, 59%) Fuchsia