#ECD20B

#ecd20b ≈ Citrine

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

#ecd20b 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 4.31% blue; printed in CMYK it uses 0% cyan, 11.02% magenta, 95.34% yellow and 7.45% black. Its hue angle is 53.07°, with 91.09% saturation and 48.43% 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.79:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.61.

Description generated from the measured properties of this color.

Conversions of #ecd20b 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.6395

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

Achromatopsia #d1d1d1 ≈ 0.003% of males
Achromatomaly #dcd2a7 ≈ 0.001% of males
Protanopia #e8cc00 ≈ 1.01% of males
Deuteranopia #efd528 ≈ 1.27% of males
Tritanopia #ffc1b3 ≈ 0.0001% of males
Protanomaly #e9ce00 ≈ 1.08% of males
Deuteranomaly #eed41f ≈ 4.63% of males
Tritanomaly #f8c88e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#ecd20b  rgb(236, 210, 11)  hsl(53, 91%, 48%)  Citrine
#0b25ec  rgb(11, 37, 236)  hsl(233, 91%, 48%)  Blue
#0becd2  rgb(11, 236, 210)  hsl(173, 91%, 48%)  Turquoise
#d20bec  rgb(210, 11, 236)  hsl(293, 91%, 48%)  Electric Purple