#f7df2f ≈ Banana Yellow
#f7df2f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.86% red, 87.45% green and 18.43% blue; printed in CMYK it uses 0% cyan, 9.72% magenta, 80.97% yellow and 3.14% black. Its hue angle is 52.8°, with 92.59% 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 15.55:1 (WCAG AAA). The closest named color is Banana Yellow (#ffe135), ΔE 1.59.
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.7275 |
Shades
#f7df2f mixed progressively with black.
Tints
#f7df2f mixed progressively with white.
Tones
#f7df2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f7df2f {
color: #f7df2f;
}
.bg-f7df2f {
background-color: #f7df2f;
color: #000000;
}
.border-f7df2f {
border: 2px solid #f7df2f;
}
:root {
--color-primary: #f7df2f;
--color-primary-rgb: 247 223 47;
--color-primary-hsl: 53 93% 58%;
}
.gradient-f7df2f {
background: linear-gradient(135deg, #f7df2f, #abf72f);
}
.shadow-f7df2f {
box-shadow: 0 8px 24px rgb(247 223 47 / 0.35);
}
Banana Yellow
#f7df2f rgb(247, 223, 47) hsl(53, 93%, 58%) Banana Yellow
#2f47f7 rgb(47, 71, 247) hsl(233, 93%, 58%) Majorelle Blue
#2ff7df rgb(47, 247, 223) hsl(173, 93%, 58%) Turquoise Blue
#df2ff7 rgb(223, 47, 247) hsl(293, 93%, 58%) Fuchsia