#E7CC0C

#e7cc0c ≈ Citrine

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

#e7cc0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 90.59% red, 80% green and 4.71% blue; printed in CMYK it uses 0% cyan, 11.69% magenta, 94.81% yellow and 9.41% black. Its hue angle is 52.6°, with 90.12% 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.04:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.87.

Description generated from the measured properties of this color.

Conversions of #e7cc0c 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.602

Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #d7cca2 ≈ 0.001% of males
Protanopia #e1c600 ≈ 1.01% of males
Deuteranopia #e9d027 ≈ 1.27% of males
Tritanopia #fabcae ≈ 0.0001% of males
Protanomaly #e4c900 ≈ 1.08% of males
Deuteranomaly #e8ce1f ≈ 4.63% of males
Tritanomaly #f3c28a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e7cc0c {
  color: #e7cc0c;
}
Background
.bg-e7cc0c {
  background-color: #e7cc0c;
  color: #000000;
}
Border
.border-e7cc0c {
  border: 2px solid #e7cc0c;
}
CSS variables
:root {
  --color-primary: #e7cc0c;
  --color-primary-rgb: 231 204 12;
  --color-primary-hsl: 53 90% 48%;
}
Gradient
.gradient-e7cc0c {
  background: linear-gradient(135deg, #e7cc0c, #95e70c);
}
Colored shadow
.shadow-e7cc0c {
  box-shadow: 0 8px 24px rgb(231 204 12 / 0.35);
}

Citrine
#e7cc0c  rgb(231, 204, 12)  hsl(53, 90%, 48%)  Citrine
#0c27e7  rgb(12, 39, 231)  hsl(233, 90%, 48%)  Blue
#0ce7cc  rgb(12, 231, 204)  hsl(173, 90%, 48%)  Turquoise
#cc0ce7  rgb(204, 12, 231)  hsl(293, 90%, 48%)  Electric Purple