#f2d52b ≈ Banana Yellow
#f2d52b 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 16.86% blue; printed in CMYK it uses 0% cyan, 11.98% magenta, 82.23% yellow and 5.1% black. Its hue angle is 51.26°, with 88.44% saturation and 55.88% 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.33: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.6664 |
Shades
#f2d52b mixed progressively with black.
Tints
#f2d52b mixed progressively with white.
Tones
#f2d52b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2d52b {
color: #f2d52b;
}
.bg-f2d52b {
background-color: #f2d52b;
color: #000000;
}
.border-f2d52b {
border: 2px solid #f2d52b;
}
:root {
--color-primary: #f2d52b;
--color-primary-rgb: 242 213 43;
--color-primary-hsl: 51 88% 56%;
}
.gradient-f2d52b {
background: linear-gradient(135deg, #f2d52b, #abf22b);
}
.shadow-f2d52b {
box-shadow: 0 8px 24px rgb(242 213 43 / 0.35);
}
Banana Yellow
#f2d52b rgb(242, 213, 43) hsl(51, 88%, 56%) Banana Yellow
#2b48f2 rgb(43, 72, 242) hsl(231, 88%, 56%) Majorelle Blue
#2bf2d5 rgb(43, 242, 213) hsl(171, 88%, 56%) Turquoise Blue
#d52bf2 rgb(213, 43, 242) hsl(291, 88%, 56%) Electric Purple