#ffdf2e ≈ Banana Yellow
#ffdf2e is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 87.45% green and 18.04% blue; printed in CMYK it uses 0% cyan, 12.55% magenta, 81.96% yellow and 0% black. Its hue angle is 50.81°, 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.85:1 (WCAG AAA). The closest named color is Banana Yellow (#ffe135), ΔE 0.67.
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.7423 |
Shades
#ffdf2e mixed progressively with black.
Tints
#ffdf2e mixed progressively with white.
Tones
#ffdf2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffdf2e {
color: #ffdf2e;
}
.bg-ffdf2e {
background-color: #ffdf2e;
color: #000000;
}
.border-ffdf2e {
border: 2px solid #ffdf2e;
}
:root {
--color-primary: #ffdf2e;
--color-primary-rgb: 255 223 46;
--color-primary-hsl: 51 100% 59%;
}
.gradient-ffdf2e {
background: linear-gradient(135deg, #ffdf2e, #b7ff2e);
}
.shadow-ffdf2e {
box-shadow: 0 8px 24px rgb(255 223 46 / 0.35);
}
Banana Yellow
#ffdf2e rgb(255, 223, 46) hsl(51, 100%, 59%) Banana Yellow
#2e4eff rgb(46, 78, 255) hsl(231, 100%, 59%) Majorelle Blue
#2effdf rgb(46, 255, 223) hsl(171, 100%, 59%) Turquoise Blue
#df2eff rgb(223, 46, 255) hsl(291, 100%, 59%) Fuchsia