#E4CC31

#e4cc31 ≈ Citrine

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

#e4cc31 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 89.41% red, 80% green and 19.22% blue; printed in CMYK it uses 0% cyan, 10.53% magenta, 78.51% yellow and 10.59% black. Its hue angle is 51.96°, with 76.82% saturation and 54.31% 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.98:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.27.

Description generated from the measured properties of this color.

Conversions of #e4cc31 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.599

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

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #d6cca4 ≈ 0.001% of males
Protanopia #e0c601 ≈ 1.01% of males
Deuteranopia #e7cf3d ≈ 1.27% of males
Tritanopia #f6bcaf ≈ 0.0001% of males
Protanomaly #e2c91d ≈ 1.08% of males
Deuteranomaly #e6ce38 ≈ 4.63% of males
Tritanomaly #efc38e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e4cc31 {
  color: #e4cc31;
}
Background
.bg-e4cc31 {
  background-color: #e4cc31;
  color: #000000;
}
Border
.border-e4cc31 {
  border: 2px solid #e4cc31;
}
CSS variables
:root {
  --color-primary: #e4cc31;
  --color-primary-rgb: 228 204 49;
  --color-primary-hsl: 52 77% 54%;
}
Gradient
.gradient-e4cc31 {
  background: linear-gradient(135deg, #e4cc31, #a2e431);
}
Colored shadow
.shadow-e4cc31 {
  box-shadow: 0 8px 24px rgb(228 204 49 / 0.35);
}

Citrine
#e4cc31  rgb(228, 204, 49)  hsl(52, 77%, 54%)  Citrine
#3149e4  rgb(49, 73, 228)  hsl(232, 77%, 54%)  Iris
#31e4cc  rgb(49, 228, 204)  hsl(172, 77%, 54%)  Turquoise
#cc31e4  rgb(204, 49, 228)  hsl(292, 77%, 54%)  Medium Orchid