#FFDC2B

#ffdc2b ≈ Banana Yellow

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

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

Conversions of #ffdc2b 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.7262

Readable text 1.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dddddd ≈ 0.003% of males
Achromatomaly #ecddb2 ≈ 0.001% of males
Protanopia #f4d700 ≈ 1.01% of males
Deuteranopia #fce23a ≈ 1.27% of males
Tritanopia #ffcabd ≈ 0.0001% of males
Protanomaly #f8d906 ≈ 1.08% of males
Deuteranomaly #fde035 ≈ 4.63% of males
Tritanomaly #ffd298 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffdc2b {
  color: #ffdc2b;
}
Background
.bg-ffdc2b {
  background-color: #ffdc2b;
  color: #000000;
}
Border
.border-ffdc2b {
  border: 2px solid #ffdc2b;
}
CSS variables
:root {
  --color-primary: #ffdc2b;
  --color-primary-rgb: 255 220 43;
  --color-primary-hsl: 50 100% 58%;
}
Gradient
.gradient-ffdc2b {
  background: linear-gradient(135deg, #ffdc2b, #b8ff2b);
}
Colored shadow
.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