#F5DD42

#f5dd42 ≈ Banana Yellow

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#f5dd42 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 96.08% red, 86.67% green and 25.88% blue; printed in CMYK it uses 0% cyan, 9.8% magenta, 73.06% yellow and 3.92% black. Its hue angle is 51.96°, with 89.95% saturation and 60.98% 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.3:1 (WCAG AAA). The closest named color is Banana Yellow (#ffe135), ΔE 2.16.

Description generated from the measured properties of this color.

Conversions of #f5dd42 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.7152

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

Achromatopsia #dcdcdc ≈ 0.003% of males
Achromatomaly #e6dcb3 ≈ 0.001% of males
Protanopia #f2d726 ≈ 1.01% of males
Deuteranopia #f9e04c ≈ 1.27% of males
Tritanopia #ffcdbf ≈ 0.0001% of males
Protanomaly #f3d933 ≈ 1.08% of males
Deuteranomaly #f7df48 ≈ 4.63% of males
Tritanomaly #ffd49c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f5dd42 {
  color: #f5dd42;
}
Background
.bg-f5dd42 {
  background-color: #f5dd42;
  color: #000000;
}
Border
.border-f5dd42 {
  border: 2px solid #f5dd42;
}
CSS variables
:root {
  --color-primary: #f5dd42;
  --color-primary-rgb: 245 221 66;
  --color-primary-hsl: 52 90% 61%;
}
Gradient
.gradient-f5dd42 {
  background: linear-gradient(135deg, #f5dd42, #b3f542);
}
Colored shadow
.shadow-f5dd42 {
  box-shadow: 0 8px 24px rgb(245 221 66 / 0.35);
}

Banana Yellow
#f5dd42  rgb(245, 221, 66)  hsl(52, 90%, 61%)  Banana Yellow
#425af5  rgb(66, 90, 245)  hsl(232, 90%, 61%)  Ultramarine Blue
#42f5dd  rgb(66, 245, 221)  hsl(172, 90%, 61%)  Turquoise Blue
#dd42f5  rgb(221, 66, 245)  hsl(292, 90%, 61%)  Fuchsia