#F5DE2B

#f5de2b ≈ Banana Yellow

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

#f5de2b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 87.06% green and 16.86% blue; printed in CMYK it uses 0% cyan, 9.39% magenta, 82.45% yellow and 3.92% black. Its hue angle is 53.17°, with 90.99% saturation and 56.47% 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.37:1 (WCAG AAA). The closest named color is Banana Yellow (#ffe135), ΔE 1.94.

Description generated from the measured properties of this color.

Conversions of #f5de2b 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.7183

Readable text 1.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dcdcdc ≈ 0.003% of males
Achromatomaly #e7ddb1 ≈ 0.001% of males
Protanopia #f4d700 ≈ 1.01% of males
Deuteranopia #fae03b ≈ 1.27% of males
Tritanopia #ffcdbe ≈ 0.0001% of males
Protanomaly #f4da06 ≈ 1.08% of males
Deuteranomaly #f8df35 ≈ 4.63% of males
Tritanomaly #ffd499 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f5de2b {
  color: #f5de2b;
}
Background
.bg-f5de2b {
  background-color: #f5de2b;
  color: #000000;
}
Border
.border-f5de2b {
  border: 2px solid #f5de2b;
}
CSS variables
:root {
  --color-primary: #f5de2b;
  --color-primary-rgb: 245 222 43;
  --color-primary-hsl: 53 91% 56%;
}
Gradient
.gradient-f5de2b {
  background: linear-gradient(135deg, #f5de2b, #a7f52b);
}
Colored shadow
.shadow-f5de2b {
  box-shadow: 0 8px 24px rgb(245 222 43 / 0.35);
}

Banana Yellow
#f5de2b  rgb(245, 222, 43)  hsl(53, 91%, 56%)  Banana Yellow
#2b42f5  rgb(43, 66, 245)  hsl(233, 91%, 56%)  Majorelle Blue
#2bf5de  rgb(43, 245, 222)  hsl(173, 91%, 56%)  Turquoise Blue
#de2bf5  rgb(222, 43, 245)  hsl(293, 91%, 56%)  Fuchsia