#ECD804

#ecd804 ≈ Citrine

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

#ecd804 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.71% green and 1.57% blue; printed in CMYK it uses 0% cyan, 8.47% magenta, 98.31% yellow and 7.45% black. Its hue angle is 54.83°, with 96.67% saturation and 47.06% 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.39:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.94.

Description generated from the measured properties of this color.

Conversions of #ecd804 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.6695

Readable text 1.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d6d6d6 ≈ 0.003% of males
Achromatomaly #dfd7aa ≈ 0.001% of males
Protanopia #edd100 ≈ 1.01% of males
Deuteranopia #f3d927 ≈ 1.27% of males
Tritanopia #ffc7b8 ≈ 0.0001% of males
Protanomaly #edd400 ≈ 1.08% of males
Deuteranomaly #f0d91e ≈ 4.63% of males
Tritanomaly #f8ce92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecd804 {
  color: #ecd804;
}
Background
.bg-ecd804 {
  background-color: #ecd804;
  color: #000000;
}
Border
.border-ecd804 {
  border: 2px solid #ecd804;
}
CSS variables
:root {
  --color-primary: #ecd804;
  --color-primary-rgb: 236 216 4;
  --color-primary-hsl: 55 97% 47%;
}
Gradient
.gradient-ecd804 {
  background: linear-gradient(135deg, #ecd804, #8cec04);
}
Colored shadow
.shadow-ecd804 {
  box-shadow: 0 8px 24px rgb(236 216 4 / 0.35);
}

Citrine
#ecd804  rgb(236, 216, 4)  hsl(55, 97%, 47%)  Citrine
#0418ec  rgb(4, 24, 236)  hsl(235, 97%, 47%)  Blue
#04ecd8  rgb(4, 236, 216)  hsl(175, 97%, 47%)  Turquoise
#d804ec  rgb(216, 4, 236)  hsl(295, 97%, 47%)  Electric Purple