#ffdc2e ≈ Banana Yellow
#ffdc2e 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 18.04% blue; printed in CMYK it uses 0% cyan, 13.73% magenta, 81.96% yellow and 0% black. Its hue angle is 49.95°, with 100% saturation and 59.02% 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.53:1 (WCAG AAA). The closest named color is Banana Yellow (#ffe135), ΔE 1.55.
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.7264 |
Shades
#ffdc2e mixed progressively with black.
Tints
#ffdc2e mixed progressively with white.
Tones
#ffdc2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffdc2e {
color: #ffdc2e;
}
.bg-ffdc2e {
background-color: #ffdc2e;
color: #000000;
}
.border-ffdc2e {
border: 2px solid #ffdc2e;
}
:root {
--color-primary: #ffdc2e;
--color-primary-rgb: 255 220 46;
--color-primary-hsl: 50 100% 59%;
}
.gradient-ffdc2e {
background: linear-gradient(135deg, #ffdc2e, #baff2e);
}
.shadow-ffdc2e {
box-shadow: 0 8px 24px rgb(255 220 46 / 0.35);
}
Banana Yellow
#ffdc2e rgb(255, 220, 46) hsl(50, 100%, 59%) Banana Yellow
#2e51ff rgb(46, 81, 255) hsl(230, 100%, 59%) Majorelle Blue
#2effdc rgb(46, 255, 220) hsl(170, 100%, 59%) Aquamarine
#dc2eff rgb(220, 46, 255) hsl(290, 100%, 59%) Fuchsia