#f2d528 ≈ Banana Yellow
#f2d528 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 83.53% green and 15.69% blue; printed in CMYK it uses 0% cyan, 11.98% magenta, 83.47% yellow and 5.1% black. Its hue angle is 51.39°, with 88.6% saturation and 55.29% 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 14.32:1 (WCAG AAA). The closest named color is Banana Yellow (#ffe135), ΔE 2.74.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6662 |
Shades
#f2d528 mixed progressively with black.
Tints
#f2d528 mixed progressively with white.
Tones
#f2d528 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2d528 {
color: #f2d528;
}
.bg-f2d528 {
background-color: #f2d528;
color: #000000;
}
.border-f2d528 {
border: 2px solid #f2d528;
}
:root {
--color-primary: #f2d528;
--color-primary-rgb: 242 213 40;
--color-primary-hsl: 51 89% 55%;
}
.gradient-f2d528 {
background: linear-gradient(135deg, #f2d528, #aaf228);
}
.shadow-f2d528 {
box-shadow: 0 8px 24px rgb(242 213 40 / 0.35);
}
Banana Yellow
#f2d528 rgb(242, 213, 40) hsl(51, 89%, 55%) Banana Yellow
#2845f2 rgb(40, 69, 242) hsl(231, 89%, 55%) Majorelle Blue
#28f2d5 rgb(40, 242, 213) hsl(171, 89%, 55%) Turquoise Blue
#d528f2 rgb(213, 40, 242) hsl(291, 89%, 55%) Electric Purple