#E2C508

#e2c508 ≈ Citrine

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

#e2c508 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 88.63% red, 77.25% green and 3.14% blue; printed in CMYK it uses 0% cyan, 12.83% magenta, 96.46% yellow and 11.37% black. Its hue angle is 52.02°, with 93.16% saturation and 45.88% 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.22:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.28.

Description generated from the measured properties of this color.

Conversions of #e2c508 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.5612

Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #d1c59d ≈ 0.001% of males
Protanopia #dac000 ≈ 1.01% of males
Deuteranopia #e2ca24 ≈ 1.27% of males
Tritanopia #f5b5a8 ≈ 0.0001% of males
Protanomaly #ddc200 ≈ 1.08% of males
Deuteranomaly #e2c81c ≈ 4.63% of males
Tritanomaly #eebb85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e2c508 {
  color: #e2c508;
}
Background
.bg-e2c508 {
  background-color: #e2c508;
  color: #000000;
}
Border
.border-e2c508 {
  border: 2px solid #e2c508;
}
CSS variables
:root {
  --color-primary: #e2c508;
  --color-primary-rgb: 226 197 8;
  --color-primary-hsl: 52 93% 46%;
}
Gradient
.gradient-e2c508 {
  background: linear-gradient(135deg, #e2c508, #92e208);
}
Colored shadow
.shadow-e2c508 {
  box-shadow: 0 8px 24px rgb(226 197 8 / 0.35);
}

Citrine
#e2c508  rgb(226, 197, 8)  hsl(52, 93%, 46%)  Citrine
#0825e2  rgb(8, 37, 226)  hsl(232, 93%, 46%)  Blue
#08e2c5  rgb(8, 226, 197)  hsl(172, 93%, 46%)  Turquoise
#c508e2  rgb(197, 8, 226)  hsl(292, 93%, 46%)  Electric Purple