#E4CC2E

#e4cc2e ≈ Citrine

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

#e4cc2e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 89.41% red, 80% green and 18.04% blue; printed in CMYK it uses 0% cyan, 10.53% magenta, 79.82% yellow and 10.59% black. Its hue angle is 52.09°, with 77.12% saturation and 53.73% 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.98:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.11.

Description generated from the measured properties of this color.

Conversions of #e4cc2e 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.5988

Readable text 1.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #d6cca4 ≈ 0.001% of males
Protanopia #e0c600 ≈ 1.01% of males
Deuteranopia #e7cf3b ≈ 1.27% of males
Tritanopia #f6bcaf ≈ 0.0001% of males
Protanomaly #e2c918 ≈ 1.08% of males
Deuteranomaly #e6ce36 ≈ 4.63% of males
Tritanomaly #efc38e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e4cc2e {
  color: #e4cc2e;
}
Background
.bg-e4cc2e {
  background-color: #e4cc2e;
  color: #000000;
}
Border
.border-e4cc2e {
  border: 2px solid #e4cc2e;
}
CSS variables
:root {
  --color-primary: #e4cc2e;
  --color-primary-rgb: 228 204 46;
  --color-primary-hsl: 52 77% 54%;
}
Gradient
.gradient-e4cc2e {
  background: linear-gradient(135deg, #e4cc2e, #a1e42e);
}
Colored shadow
.shadow-e4cc2e {
  box-shadow: 0 8px 24px rgb(228 204 46 / 0.35);
}

Citrine
#e4cc2e  rgb(228, 204, 46)  hsl(52, 77%, 54%)  Citrine
#2e46e4  rgb(46, 70, 228)  hsl(232, 77%, 54%)  Iris
#2ee4cc  rgb(46, 228, 204)  hsl(172, 77%, 54%)  Turquoise
#cc2ee4  rgb(204, 46, 228)  hsl(292, 77%, 54%)  Medium Orchid