#E0CC2E

#e0cc2e ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#e0cc2e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.84% red, 80% green and 18.04% blue; printed in CMYK it uses 0% cyan, 8.93% magenta, 79.46% yellow and 12.16% black. Its hue angle is 53.26°, with 74.17% saturation and 52.94% 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 brand accents. Black text on this color reaches a contrast ratio of 12.85:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.97.

Description generated from the measured properties of this color.

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

Readable text 1.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #d3cba3 ≈ 0.001% of males
Protanopia #e0c600 ≈ 1.01% of males
Deuteranopia #e5ce3b ≈ 1.27% of males
Tritanopia #f2bdaf ≈ 0.0001% of males
Protanomaly #e0c818 ≈ 1.08% of males
Deuteranomaly #e3cd36 ≈ 4.63% of males
Tritanomaly #ebc38e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e0cc2e {
  color: #e0cc2e;
}
Background
.bg-e0cc2e {
  background-color: #e0cc2e;
  color: #000000;
}
Border
.border-e0cc2e {
  border: 2px solid #e0cc2e;
}
CSS variables
:root {
  --color-primary: #e0cc2e;
  --color-primary-rgb: 224 204 46;
  --color-primary-hsl: 53 74% 53%;
}
Gradient
.gradient-e0cc2e {
  background: linear-gradient(135deg, #e0cc2e, #9be02e);
}
Colored shadow
.shadow-e0cc2e {
  box-shadow: 0 8px 24px rgb(224 204 46 / 0.35);
}

Citrine
#e0cc2e  rgb(224, 204, 46)  hsl(53, 74%, 53%)  Citrine
#2e42e0  rgb(46, 66, 224)  hsl(233, 74%, 53%)  Iris
#2ee0cc  rgb(46, 224, 204)  hsl(173, 74%, 53%)  Turquoise
#cc2ee0  rgb(204, 46, 224)  hsl(293, 74%, 53%)  Medium Orchid