#ffdc2b ≈ Banana Yellow
#ffdc2b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 86.27% green and 16.86% blue; printed in CMYK it uses 0% cyan, 13.73% magenta, 83.14% yellow and 0% black. Its hue angle is 50.09°, with 100% saturation and 58.43% 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.52:1 (WCAG AAA). The closest named color is Banana Yellow (#ffe135), ΔE 1.56.
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.7262 |
Shades
#ffdc2b mixed progressively with black.
Tints
#ffdc2b mixed progressively with white.
Tones
#ffdc2b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffdc2b {
color: #ffdc2b;
}
.bg-ffdc2b {
background-color: #ffdc2b;
color: #000000;
}
.border-ffdc2b {
border: 2px solid #ffdc2b;
}
:root {
--color-primary: #ffdc2b;
--color-primary-rgb: 255 220 43;
--color-primary-hsl: 50 100% 58%;
}
.gradient-ffdc2b {
background: linear-gradient(135deg, #ffdc2b, #b8ff2b);
}
.shadow-ffdc2b {
box-shadow: 0 8px 24px rgb(255 220 43 / 0.35);
}
Banana Yellow
#ffdc2b rgb(255, 220, 43) hsl(50, 100%, 58%) Banana Yellow
#2b4eff rgb(43, 78, 255) hsl(230, 100%, 58%) Majorelle Blue
#2bffdc rgb(43, 255, 220) hsl(170, 100%, 58%) Aquamarine
#dc2bff rgb(220, 43, 255) hsl(290, 100%, 58%) Fuchsia