#ECD007

#ecd007 ≈ Citrine

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

#ecd007 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 2.75% blue; printed in CMYK it uses 0% cyan, 11.86% magenta, 97.03% yellow and 7.45% black. Its hue angle is 52.66°, with 94.24% saturation and 47.65% 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.59:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.97.

Description generated from the measured properties of this color.

Conversions of #ecd007 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.6296

Readable text 1.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #dcd0a5 ≈ 0.001% of males
Protanopia #e6ca00 ≈ 1.01% of males
Deuteranopia #edd426 ≈ 1.27% of males
Tritanopia #ffbfb1 ≈ 0.0001% of males
Protanomaly #e8cd00 ≈ 1.08% of males
Deuteranomaly #edd21d ≈ 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-ecd007 {
  color: #ecd007;
}
Background
.bg-ecd007 {
  background-color: #ecd007;
  color: #000000;
}
Border
.border-ecd007 {
  border: 2px solid #ecd007;
}
CSS variables
:root {
  --color-primary: #ecd007;
  --color-primary-rgb: 236 208 7;
  --color-primary-hsl: 53 94% 48%;
}
Gradient
.gradient-ecd007 {
  background: linear-gradient(135deg, #ecd007, #96ec07);
}
Colored shadow
.shadow-ecd007 {
  box-shadow: 0 8px 24px rgb(236 208 7 / 0.35);
}

Citrine
#ecd007  rgb(236, 208, 7)  hsl(53, 94%, 48%)  Citrine
#0723ec  rgb(7, 35, 236)  hsl(233, 94%, 48%)  Blue
#07ecd0  rgb(7, 236, 208)  hsl(173, 94%, 48%)  Turquoise
#d007ec  rgb(208, 7, 236)  hsl(293, 94%, 48%)  Electric Purple