#ECC802

#ecc802 ≈ Jonquil

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

#ecc802 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.43% green and 0.78% blue; printed in CMYK it uses 0% cyan, 15.25% magenta, 99.15% yellow and 7.45% black. Its hue angle is 50.77°, with 98.32% saturation and 46.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 12.83:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.73.

Description generated from the measured properties of this color.

Conversions of #ecc802 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffcc00
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5915

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

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #d9c9a1 ≈ 0.001% of males
Protanopia #dfc400 ≈ 1.01% of males
Deuteranopia #e8cf21 ≈ 1.27% of males
Tritanopia #ffb7aa ≈ 0.0001% of males
Protanomaly #e4c500 ≈ 1.08% of males
Deuteranomaly #e9cc19 ≈ 4.63% of males
Tritanomaly #f8be87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecc802 {
  color: #ecc802;
}
Background
.bg-ecc802 {
  background-color: #ecc802;
  color: #000000;
}
Border
.border-ecc802 {
  border: 2px solid #ecc802;
}
CSS variables
:root {
  --color-primary: #ecc802;
  --color-primary-rgb: 236 200 2;
  --color-primary-hsl: 51 98% 47%;
}
Gradient
.gradient-ecc802 {
  background: linear-gradient(135deg, #ecc802, #9bec02);
}
Colored shadow
.shadow-ecc802 {
  box-shadow: 0 8px 24px rgb(236 200 2 / 0.35);
}

Jonquil
#ecc802  rgb(236, 200, 2)  hsl(51, 98%, 47%)  Jonquil
#0226ec  rgb(2, 38, 236)  hsl(231, 98%, 47%)  Blue
#02ecc8  rgb(2, 236, 200)  hsl(171, 98%, 47%)  Turquoise
#c802ec  rgb(200, 2, 236)  hsl(291, 98%, 47%)  Electric Purple