#E2C822

#e2c822 ≈ Citrine

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

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

Description generated from the measured properties of this color.

Conversions of #e2c822 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.5759

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #d3c8a0 ≈ 0.001% of males
Protanopia #ddc300 ≈ 1.01% of males
Deuteranopia #e4cc32 ≈ 1.27% of males
Tritanopia #f4b8ab ≈ 0.0001% of males
Protanomaly #dfc500 ≈ 1.08% of males
Deuteranomaly #e3ca2c ≈ 4.63% of males
Tritanomaly #edbf89 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#e2c822  rgb(226, 200, 34)  hsl(52, 77%, 51%)  Citrine
#223ce2  rgb(34, 60, 226)  hsl(232, 77%, 51%)  Persian Blue
#22e2c8  rgb(34, 226, 200)  hsl(172, 77%, 51%)  Turquoise
#c822e2  rgb(200, 34, 226)  hsl(292, 77%, 51%)  Electric Purple