#F2D52B

#f2d52b ≈ Banana Yellow

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

#f2d52b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 83.53% green and 16.86% blue; printed in CMYK it uses 0% cyan, 11.98% magenta, 82.23% yellow and 5.1% black. Its hue angle is 51.26°, with 88.44% saturation and 55.88% 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 14.33:1 (WCAG AAA). The closest named color is Banana Yellow (#ffe135), ΔE 2.74.

Description generated from the measured properties of this color.

Conversions of #f2d52b 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.6664

Readable text 1.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.33:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d5d5d5 ≈ 0.003% of males
Achromatomaly #e1d5ab ≈ 0.001% of males
Protanopia #ebcf00 ≈ 1.01% of males
Deuteranopia #f3d939 ≈ 1.27% of males
Tritanopia #ffc4b7 ≈ 0.0001% of males
Protanomaly #eed20c ≈ 1.08% of males
Deuteranomaly #f2d834 ≈ 4.63% of males
Tritanomaly #fecb93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2d52b {
  color: #f2d52b;
}
Background
.bg-f2d52b {
  background-color: #f2d52b;
  color: #000000;
}
Border
.border-f2d52b {
  border: 2px solid #f2d52b;
}
CSS variables
:root {
  --color-primary: #f2d52b;
  --color-primary-rgb: 242 213 43;
  --color-primary-hsl: 51 88% 56%;
}
Gradient
.gradient-f2d52b {
  background: linear-gradient(135deg, #f2d52b, #abf22b);
}
Colored shadow
.shadow-f2d52b {
  box-shadow: 0 8px 24px rgb(242 213 43 / 0.35);
}

Banana Yellow
#f2d52b  rgb(242, 213, 43)  hsl(51, 88%, 56%)  Banana Yellow
#2b48f2  rgb(43, 72, 242)  hsl(231, 88%, 56%)  Majorelle Blue
#2bf2d5  rgb(43, 242, 213)  hsl(171, 88%, 56%)  Turquoise Blue
#d52bf2  rgb(213, 43, 242)  hsl(291, 88%, 56%)  Electric Purple