#ECD71C

#ecd71c ≈ Citrine

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

#ecd71c 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 10.98% blue; printed in CMYK it uses 0% cyan, 8.9% magenta, 88.14% yellow and 7.45% black. Its hue angle is 53.94°, with 84.55% saturation and 51.76% 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.69.

Description generated from the measured properties of this color.

Conversions of #ecd71c 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.6652

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 #f2d931 ≈ 1.27% of males
Tritanopia #ffc7b8 ≈ 0.0001% of males
Protanomaly #ecd300 ≈ 1.08% of males
Deuteranomaly #f0d82a ≈ 4.63% of males
Tritanomaly #f8cd93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecd71c {
  color: #ecd71c;
}
Background
.bg-ecd71c {
  background-color: #ecd71c;
  color: #000000;
}
Border
.border-ecd71c {
  border: 2px solid #ecd71c;
}
CSS variables
:root {
  --color-primary: #ecd71c;
  --color-primary-rgb: 236 215 28;
  --color-primary-hsl: 54 85% 52%;
}
Gradient
.gradient-ecd71c {
  background: linear-gradient(135deg, #ecd71c, #99ec1c);
}
Colored shadow
.shadow-ecd71c {
  box-shadow: 0 8px 24px rgb(236 215 28 / 0.35);
}

Citrine
#ecd71c  rgb(236, 215, 28)  hsl(54, 85%, 52%)  Citrine
#1c31ec  rgb(28, 49, 236)  hsl(234, 85%, 52%)  Blue
#1cecd7  rgb(28, 236, 215)  hsl(174, 85%, 52%)  Turquoise
#d71cec  rgb(215, 28, 236)  hsl(294, 85%, 52%)  Electric Purple