#ECD012

#ecd012 ≈ Citrine

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

#ecd012 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 81.57% green and 7.06% blue; printed in CMYK it uses 0% cyan, 11.86% magenta, 92.37% yellow and 7.45% black. Its hue angle is 52.29°, with 85.83% saturation and 49.8% 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.6:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.98.

Description generated from the measured properties of this color.

Conversions of #ecd012 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.6299

Readable text 1.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.6:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #dcd0a6 ≈ 0.001% of males
Protanopia #e6ca00 ≈ 1.01% of males
Deuteranopia #edd42a ≈ 1.27% of males
Tritanopia #ffbfb1 ≈ 0.0001% of males
Protanomaly #e8cd00 ≈ 1.08% of males
Deuteranomaly #edd322 ≈ 4.63% of males
Tritanomaly #f8c68d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecd012 {
  color: #ecd012;
}
Background
.bg-ecd012 {
  background-color: #ecd012;
  color: #000000;
}
Border
.border-ecd012 {
  border: 2px solid #ecd012;
}
CSS variables
:root {
  --color-primary: #ecd012;
  --color-primary-rgb: 236 208 18;
  --color-primary-hsl: 52 86% 50%;
}
Gradient
.gradient-ecd012 {
  background: linear-gradient(135deg, #ecd012, #9bec12);
}
Colored shadow
.shadow-ecd012 {
  box-shadow: 0 8px 24px rgb(236 208 18 / 0.35);
}

Citrine
#ecd012  rgb(236, 208, 18)  hsl(52, 86%, 50%)  Citrine
#122eec  rgb(18, 46, 236)  hsl(232, 86%, 50%)  Blue
#12ecd0  rgb(18, 236, 208)  hsl(172, 86%, 50%)  Turquoise
#d012ec  rgb(208, 18, 236)  hsl(292, 86%, 50%)  Electric Purple