#ECDC72

#ecdc72 ≈ Straw

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#ecdc72 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 86.27% green and 44.71% blue; printed in CMYK it uses 0% cyan, 6.78% magenta, 51.69% yellow and 7.45% black. Its hue angle is 52.13°, with 76.25% saturation and 68.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 brand accents. Black text on this color reaches a contrast ratio of 15.05:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 1.6.

Description generated from the measured properties of this color.

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

Readable text 1.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dadada ≈ 0.003% of males
Achromatomaly #e2dbba ≈ 0.001% of males
Protanopia #edd668 ≈ 1.01% of males
Deuteranopia #f2dd77 ≈ 1.27% of males
Tritanopia #fbcfc4 ≈ 0.0001% of males
Protanomaly #edd96c ≈ 1.08% of males
Deuteranomaly #efdd75 ≈ 4.63% of males
Tritanomaly #f5d4a9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecdc72 {
  color: #ecdc72;
}
Background
.bg-ecdc72 {
  background-color: #ecdc72;
  color: #000000;
}
Border
.border-ecdc72 {
  border: 2px solid #ecdc72;
}
CSS variables
:root {
  --color-primary: #ecdc72;
  --color-primary-rgb: 236 220 114;
  --color-primary-hsl: 52 76% 69%;
}
Gradient
.gradient-ecdc72 {
  background: linear-gradient(135deg, #ecdc72, #bfec72);
}
Colored shadow
.shadow-ecdc72 {
  box-shadow: 0 8px 24px rgb(236 220 114 / 0.35);
}

Straw
#ecdc72  rgb(236, 220, 114)  hsl(52, 76%, 69%)  Straw
#7282ec  rgb(114, 130, 236)  hsl(232, 76%, 69%)  Glaucous
#72ecdc  rgb(114, 236, 220)  hsl(172, 76%, 69%)  Turquoise
#dc72ec  rgb(220, 114, 236)  hsl(292, 76%, 69%)  Heliotrope