#E0CC02

#e0cc02 ≈ Citrine

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

#e0cc02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.84% red, 80% green and 0.78% blue; printed in CMYK it uses 0% cyan, 8.93% magenta, 99.11% yellow and 12.16% black. Its hue angle is 54.59°, with 98.23% saturation and 44.31% 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 12.81:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 0.96.

Description generated from the measured properties of this color.

Conversions of #e0cc02 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc00
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5904

Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #d3cba1 ≈ 0.001% of males
Protanopia #e0c500 ≈ 1.01% of males
Deuteranopia #e6ce24 ≈ 1.27% of males
Tritanopia #f2bcae ≈ 0.0001% of males
Protanomaly #e0c800 ≈ 1.08% of males
Deuteranomaly #e4cd1b ≈ 4.63% of males
Tritanomaly #ebc38a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e0cc02 {
  color: #e0cc02;
}
Background
.bg-e0cc02 {
  background-color: #e0cc02;
  color: #000000;
}
Border
.border-e0cc02 {
  border: 2px solid #e0cc02;
}
CSS variables
:root {
  --color-primary: #e0cc02;
  --color-primary-rgb: 224 204 2;
  --color-primary-hsl: 55 98% 44%;
}
Gradient
.gradient-e0cc02 {
  background: linear-gradient(135deg, #e0cc02, #85e002);
}
Colored shadow
.shadow-e0cc02 {
  box-shadow: 0 8px 24px rgb(224 204 2 / 0.35);
}

Citrine
#e0cc02  rgb(224, 204, 2)  hsl(55, 98%, 44%)  Citrine
#0216e0  rgb(2, 22, 224)  hsl(235, 98%, 44%)  Blue
#02e0cc  rgb(2, 224, 204)  hsl(175, 98%, 44%)  Turquoise
#cc02e0  rgb(204, 2, 224)  hsl(295, 98%, 44%)  Electric Purple