#ECD22E

#ecd22e ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#ecd22e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 92.55% red, 82.35% green and 18.04% blue; printed in CMYK it uses 0% cyan, 11.02% magenta, 80.51% yellow and 7.45% black. Its hue angle is 51.79°, with 83.33% saturation and 55.29% 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.82:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.05.

Description generated from the measured properties of this color.

Conversions of #ecd22e 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.6412

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

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #ddd2a9 ≈ 0.001% of males
Protanopia #e7cc00 ≈ 1.01% of males
Deuteranopia #eed63b ≈ 1.27% of males
Tritanopia #ffc2b4 ≈ 0.0001% of males
Protanomaly #e9cf15 ≈ 1.08% of males
Deuteranomaly #edd436 ≈ 4.63% of males
Tritanomaly #f8c892 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#ecd22e  rgb(236, 210, 46)  hsl(52, 83%, 55%)  Citrine
#2e48ec  rgb(46, 72, 236)  hsl(232, 83%, 55%)  Iris
#2eecd2  rgb(46, 236, 210)  hsl(172, 83%, 55%)  Turquoise
#d22eec  rgb(210, 46, 236)  hsl(292, 83%, 55%)  Medium Orchid