#F7DC2F

#f7dc2f ≈ Banana Yellow

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

#f7dc2f 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 18.43% blue; printed in CMYK it uses 0% cyan, 10.93% magenta, 80.97% yellow and 3.14% black. Its hue angle is 51.9°, with 92.59% saturation and 57.65% 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.4.

Description generated from the measured properties of this color.

Conversions of #f7dc2f 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.7117

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 #e7dcb1 ≈ 0.001% of males
Protanopia #f2d600 ≈ 1.01% of males
Deuteranopia #f9e03d ≈ 1.27% of males
Tritanopia #ffcbbd ≈ 0.0001% of males
Protanomaly #f4d813 ≈ 1.08% of males
Deuteranomaly #f8de38 ≈ 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-f7dc2f {
  color: #f7dc2f;
}
Background
.bg-f7dc2f {
  background-color: #f7dc2f;
  color: #000000;
}
Border
.border-f7dc2f {
  border: 2px solid #f7dc2f;
}
CSS variables
:root {
  --color-primary: #f7dc2f;
  --color-primary-rgb: 247 220 47;
  --color-primary-hsl: 52 93% 58%;
}
Gradient
.gradient-f7dc2f {
  background: linear-gradient(135deg, #f7dc2f, #aef72f);
}
Colored shadow
.shadow-f7dc2f {
  box-shadow: 0 8px 24px rgb(247 220 47 / 0.35);
}

Banana Yellow
#f7dc2f  rgb(247, 220, 47)  hsl(52, 93%, 58%)  Banana Yellow
#2f4af7  rgb(47, 74, 247)  hsl(232, 93%, 58%)  Majorelle Blue
#2ff7dc  rgb(47, 247, 220)  hsl(172, 93%, 58%)  Turquoise Blue
#dc2ff7  rgb(220, 47, 247)  hsl(292, 93%, 58%)  Fuchsia