#E2CC22

#e2cc22 ≈ Citrine

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

#e2cc22 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 88.63% red, 80% green and 13.33% blue; printed in CMYK it uses 0% cyan, 9.73% magenta, 84.96% yellow and 11.37% black. Its hue angle is 53.13°, with 76.8% saturation and 50.98% 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.89:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.43.

Description generated from the measured properties of this color.

Conversions of #e2cc22 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.5947

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

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #d4cba2 ≈ 0.001% of males
Protanopia #e0c600 ≈ 1.01% of males
Deuteranopia #e7ce32 ≈ 1.27% of males
Tritanopia #f4bcae ≈ 0.0001% of males
Protanomaly #e1c800 ≈ 1.08% of males
Deuteranomaly #e5cd2d ≈ 4.63% of males
Tritanomaly #edc38c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e2cc22 {
  color: #e2cc22;
}
Background
.bg-e2cc22 {
  background-color: #e2cc22;
  color: #000000;
}
Border
.border-e2cc22 {
  border: 2px solid #e2cc22;
}
CSS variables
:root {
  --color-primary: #e2cc22;
  --color-primary-rgb: 226 204 34;
  --color-primary-hsl: 53 77% 51%;
}
Gradient
.gradient-e2cc22 {
  background: linear-gradient(135deg, #e2cc22, #98e222);
}
Colored shadow
.shadow-e2cc22 {
  box-shadow: 0 8px 24px rgb(226 204 34 / 0.35);
}

Citrine
#e2cc22  rgb(226, 204, 34)  hsl(53, 77%, 51%)  Citrine
#2238e2  rgb(34, 56, 226)  hsl(233, 77%, 51%)  Persian Blue
#22e2cc  rgb(34, 226, 204)  hsl(173, 77%, 51%)  Turquoise
#cc22e2  rgb(204, 34, 226)  hsl(293, 77%, 51%)  Electric Purple