#ECD221

#ecd221 ≈ Citrine

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

#ecd221 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 82.35% green and 12.94% blue; printed in CMYK it uses 0% cyan, 11.02% magenta, 86.02% yellow and 7.45% black. Its hue angle is 52.32°, with 84.23% saturation and 52.75% 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 13.81:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.71.

Description generated from the measured properties of this color.

Conversions of #ecd221 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.6404

Readable text 1.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d1d1d1 ≈ 0.003% of males
Achromatomaly #ddd2a8 ≈ 0.001% of males
Protanopia #e7cc00 ≈ 1.01% of males
Deuteranopia #efd632 ≈ 1.27% of males
Tritanopia #ffc1b4 ≈ 0.0001% of males
Protanomaly #e9ce00 ≈ 1.08% of males
Deuteranomaly #eed42c ≈ 4.63% of males
Tritanomaly #f8c890 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecd221 {
  color: #ecd221;
}
Background
.bg-ecd221 {
  background-color: #ecd221;
  color: #000000;
}
Border
.border-ecd221 {
  border: 2px solid #ecd221;
}
CSS variables
:root {
  --color-primary: #ecd221;
  --color-primary-rgb: 236 210 33;
  --color-primary-hsl: 52 84% 53%;
}
Gradient
.gradient-ecd221 {
  background: linear-gradient(135deg, #ecd221, #a0ec21);
}
Colored shadow
.shadow-ecd221 {
  box-shadow: 0 8px 24px rgb(236 210 33 / 0.35);
}

Citrine
#ecd221  rgb(236, 210, 33)  hsl(52, 84%, 53%)  Citrine
#213bec  rgb(33, 59, 236)  hsl(232, 84%, 53%)  Han Purple
#21ecd2  rgb(33, 236, 210)  hsl(172, 84%, 53%)  Turquoise
#d221ec  rgb(210, 33, 236)  hsl(292, 84%, 53%)  Electric Purple