#E2CC3B

#e2cc3b ≈ Citrine

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

#e2cc3b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 88.63% red, 80% green and 23.14% blue; printed in CMYK it uses 0% cyan, 9.73% magenta, 73.89% yellow and 11.37% black. Its hue angle is 52.1°, with 74.22% saturation and 55.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 brand accents. Black text on this color reaches a contrast ratio of 12.93:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.84.

Description generated from the measured properties of this color.

Conversions of #e2cc3b 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.5967

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

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #d5cba5 ≈ 0.001% of males
Protanopia #e0c61f ≈ 1.01% of males
Deuteranopia #e6cf45 ≈ 1.27% of males
Tritanopia #f4bdb0 ≈ 0.0001% of males
Protanomaly #e1c92d ≈ 1.08% of males
Deuteranomaly #e4ce41 ≈ 4.63% of males
Tritanomaly #edc390 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e2cc3b {
  color: #e2cc3b;
}
Background
.bg-e2cc3b {
  background-color: #e2cc3b;
  color: #000000;
}
Border
.border-e2cc3b {
  border: 2px solid #e2cc3b;
}
CSS variables
:root {
  --color-primary: #e2cc3b;
  --color-primary-rgb: 226 204 59;
  --color-primary-hsl: 52 74% 56%;
}
Gradient
.gradient-e2cc3b {
  background: linear-gradient(135deg, #e2cc3b, #a4e23b);
}
Colored shadow
.shadow-e2cc3b {
  box-shadow: 0 8px 24px rgb(226 204 59 / 0.35);
}

Citrine
#e2cc3b  rgb(226, 204, 59)  hsl(52, 74%, 56%)  Citrine
#3b51e2  rgb(59, 81, 226)  hsl(232, 74%, 56%)  Iris
#3be2cc  rgb(59, 226, 204)  hsl(172, 74%, 56%)  Turquoise
#cc3be2  rgb(204, 59, 226)  hsl(292, 74%, 56%)  Medium Orchid