#ECDC2A

#ecdc2a ≈ Dandelion

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

#ecdc2a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 86.27% green and 16.47% blue; printed in CMYK it uses 0% cyan, 6.78% magenta, 82.2% yellow and 7.45% black. Its hue angle is 55.05°, 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 14.84:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 1.11.

Description generated from the measured properties of this color.

Conversions of #ecdc2a 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.6919

Readable text 1.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d9d9d9 ≈ 0.003% of males
Achromatomaly #e1daae ≈ 0.001% of males
Protanopia #f1d400 ≈ 1.01% of males
Deuteranopia #f6dc3b ≈ 1.27% of males
Tritanopia #feccbc ≈ 0.0001% of males
Protanomaly #efd704 ≈ 1.08% of males
Deuteranomaly #f2dc35 ≈ 4.63% of males
Tritanomaly #f7d398 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dandelion
#ecdc2a  rgb(236, 220, 42)  hsl(55, 84%, 55%)  Dandelion
#2a3aec  rgb(42, 58, 236)  hsl(235, 84%, 55%)  Han Purple
#2aecdc  rgb(42, 236, 220)  hsl(175, 84%, 55%)  Bright Turquoise
#dc2aec  rgb(220, 42, 236)  hsl(295, 84%, 55%)  Fuchsia