#F7DC2A

#f7dc2a ≈ Banana Yellow

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

#f7dc2a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.86% red, 86.27% green and 16.47% blue; printed in CMYK it uses 0% cyan, 10.93% magenta, 83% yellow and 3.14% black. Its hue angle is 52.1°, with 92.76% saturation and 56.67% 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.23:1 (WCAG AAA). The closest named color is Banana Yellow (#ffe135), ΔE 1.43.

Description generated from the measured properties of this color.

Conversions of #f7dc2a 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.7113

Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dbdbdb ≈ 0.003% of males
Achromatomaly #e7dcb0 ≈ 0.001% of males
Protanopia #f2d600 ≈ 1.01% of males
Deuteranopia #fae03a ≈ 1.27% of males
Tritanopia #ffcbbd ≈ 0.0001% of males
Protanomaly #f4d803 ≈ 1.08% of males
Deuteranomaly #f9de34 ≈ 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-f7dc2a {
  color: #f7dc2a;
}
Background
.bg-f7dc2a {
  background-color: #f7dc2a;
  color: #000000;
}
Border
.border-f7dc2a {
  border: 2px solid #f7dc2a;
}
CSS variables
:root {
  --color-primary: #f7dc2a;
  --color-primary-rgb: 247 220 42;
  --color-primary-hsl: 52 93% 57%;
}
Gradient
.gradient-f7dc2a {
  background: linear-gradient(135deg, #f7dc2a, #abf72a);
}
Colored shadow
.shadow-f7dc2a {
  box-shadow: 0 8px 24px rgb(247 220 42 / 0.35);
}

Banana Yellow
#f7dc2a  rgb(247, 220, 42)  hsl(52, 93%, 57%)  Banana Yellow
#2a45f7  rgb(42, 69, 247)  hsl(232, 93%, 57%)  Majorelle Blue
#2af7dc  rgb(42, 247, 220)  hsl(172, 93%, 57%)  Turquoise Blue
#dc2af7  rgb(220, 42, 247)  hsl(292, 93%, 57%)  Fuchsia