#ECC72A

#ecc72a ≈ Jonquil

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

#ecc72a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 78.04% green and 16.47% blue; printed in CMYK it uses 0% cyan, 15.68% magenta, 82.2% yellow and 7.45% black. Its hue angle is 48.56°, with 83.62% saturation and 54.51% 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 12.77:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.83.

Description generated from the measured properties of this color.

Conversions of #ecc72a 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.5885

Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.77:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #d8c9a2 ≈ 0.001% of males
Protanopia #ddc300 ≈ 1.01% of males
Deuteranopia #e6ce36 ≈ 1.27% of males
Tritanopia #ffb6ab ≈ 0.0001% of males
Protanomaly #e3c511 ≈ 1.08% of males
Deuteranomaly #e9cc32 ≈ 4.63% of males
Tritanomaly #f8bd8a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecc72a {
  color: #ecc72a;
}
Background
.bg-ecc72a {
  background-color: #ecc72a;
  color: #000000;
}
Border
.border-ecc72a {
  border: 2px solid #ecc72a;
}
CSS variables
:root {
  --color-primary: #ecc72a;
  --color-primary-rgb: 236 199 42;
  --color-primary-hsl: 49 84% 55%;
}
Gradient
.gradient-ecc72a {
  background: linear-gradient(135deg, #ecc72a, #b0ec2a);
}
Colored shadow
.shadow-ecc72a {
  box-shadow: 0 8px 24px rgb(236 199 42 / 0.35);
}

Jonquil
#ecc72a  rgb(236, 199, 42)  hsl(49, 84%, 55%)  Jonquil
#2a4fec  rgb(42, 79, 236)  hsl(229, 84%, 55%)  Iris
#2aecc7  rgb(42, 236, 199)  hsl(169, 84%, 55%)  Aquamarine
#c72aec  rgb(199, 42, 236)  hsl(289, 84%, 55%)  Electric Purple