#FFDF2E

#ffdf2e ≈ Banana Yellow

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#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.

Conversions of #ffdf2e into other color spaces
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 luminance0.7423

Readable text 1.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e0e0e0 ≈ 0.003% of males
Achromatomaly #eddfb4 ≈ 0.001% of males
Protanopia #f6d900 ≈ 1.01% of males
Deuteranopia #ffe43d ≈ 1.27% of males
Tritanopia #ffcdbf ≈ 0.0001% of males
Protanomaly #fadc0e ≈ 1.08% of males
Deuteranomaly #ffe237 ≈ 4.63% of males
Tritanomaly #ffd59a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffdf2e {
  color: #ffdf2e;
}
Background
.bg-ffdf2e {
  background-color: #ffdf2e;
  color: #000000;
}
Border
.border-ffdf2e {
  border: 2px solid #ffdf2e;
}
CSS variables
:root {
  --color-primary: #ffdf2e;
  --color-primary-rgb: 255 223 46;
  --color-primary-hsl: 51 100% 59%;
}
Gradient
.gradient-ffdf2e {
  background: linear-gradient(135deg, #ffdf2e, #b7ff2e);
}
Colored shadow
.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