#ECD712

#ecd712 ≈ Citrine

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

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

Description generated from the measured properties of this color.

Conversions of #ecd712 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.6648

Readable text 1.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d5d5d5 ≈ 0.003% of males
Achromatomaly #dfd6aa ≈ 0.001% of males
Protanopia #ecd000 ≈ 1.01% of males
Deuteranopia #f2d92c ≈ 1.27% of males
Tritanopia #ffc6b7 ≈ 0.0001% of males
Protanomaly #ecd300 ≈ 1.08% of males
Deuteranomaly #f0d824 ≈ 4.63% of males
Tritanomaly #f8cd92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#ecd712  rgb(236, 215, 18)  hsl(54, 86%, 50%)  Citrine
#1227ec  rgb(18, 39, 236)  hsl(234, 86%, 50%)  Blue
#12ecd7  rgb(18, 236, 215)  hsl(174, 86%, 50%)  Turquoise
#d712ec  rgb(215, 18, 236)  hsl(294, 86%, 50%)  Electric Purple