#ECDC0C

#ecdc0c ≈ Dandelion

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

#ecdc0c 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 4.71% blue; printed in CMYK it uses 0% cyan, 6.78% magenta, 94.92% yellow and 7.45% black. Its hue angle is 55.71°, with 90.32% saturation and 48.63% 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.81:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 1.57.

Description generated from the measured properties of this color.

Conversions of #ecdc0c 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.6905

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

Achromatopsia #d9d9d9 ≈ 0.003% of males
Achromatomaly #e1daad ≈ 0.001% of males
Protanopia #f1d400 ≈ 1.01% of males
Deuteranopia #f6dc2b ≈ 1.27% of males
Tritanopia #ffccbb ≈ 0.0001% of males
Protanomaly #efd700 ≈ 1.08% of males
Deuteranomaly #f2dc22 ≈ 4.63% of males
Tritanomaly #f7d295 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecdc0c {
  color: #ecdc0c;
}
Background
.bg-ecdc0c {
  background-color: #ecdc0c;
  color: #000000;
}
Border
.border-ecdc0c {
  border: 2px solid #ecdc0c;
}
CSS variables
:root {
  --color-primary: #ecdc0c;
  --color-primary-rgb: 236 220 12;
  --color-primary-hsl: 56 90% 49%;
}
Gradient
.gradient-ecdc0c {
  background: linear-gradient(135deg, #ecdc0c, #8cec0c);
}
Colored shadow
.shadow-ecdc0c {
  box-shadow: 0 8px 24px rgb(236 220 12 / 0.35);
}

Dandelion
#ecdc0c  rgb(236, 220, 12)  hsl(56, 90%, 49%)  Dandelion
#0c1cec  rgb(12, 28, 236)  hsl(236, 90%, 49%)  Blue
#0cecdc  rgb(12, 236, 220)  hsl(176, 90%, 49%)  Bright Turquoise
#dc0cec  rgb(220, 12, 236)  hsl(296, 90%, 49%)  Electric Purple