#f7dc2a ≈ Banana Yellow
#f7dc2a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.86% red, 86.27% green and 16.47% blue; printed in CMYK it uses 0% cyan, 10.93% magenta, 83% yellow and 3.14% black. Its hue angle is 52.1°, with 92.76% saturation and 56.67% 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.23:1 (WCAG AAA). The closest named color is Banana Yellow (#ffe135), ΔE 1.43.
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.7113 |
Shades
#f7dc2a mixed progressively with black.
Tints
#f7dc2a mixed progressively with white.
Tones
#f7dc2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f7dc2a {
color: #f7dc2a;
}
.bg-f7dc2a {
background-color: #f7dc2a;
color: #000000;
}
.border-f7dc2a {
border: 2px solid #f7dc2a;
}
:root {
--color-primary: #f7dc2a;
--color-primary-rgb: 247 220 42;
--color-primary-hsl: 52 93% 57%;
}
.gradient-f7dc2a {
background: linear-gradient(135deg, #f7dc2a, #abf72a);
}
.shadow-f7dc2a {
box-shadow: 0 8px 24px rgb(247 220 42 / 0.35);
}
Banana Yellow
#f7dc2a rgb(247, 220, 42) hsl(52, 93%, 57%) Banana Yellow
#2a45f7 rgb(42, 69, 247) hsl(232, 93%, 57%) Majorelle Blue
#2af7dc rgb(42, 247, 220) hsl(172, 93%, 57%) Turquoise Blue
#dc2af7 rgb(220, 42, 247) hsl(292, 93%, 57%) Fuchsia