#E7CA1C

#e7ca1c ≈ Citrine

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

#e7ca1c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 90.59% red, 79.22% green and 10.98% blue; printed in CMYK it uses 0% cyan, 12.55% magenta, 87.88% yellow and 9.41% black. Its hue angle is 51.43°, with 80.88% saturation and 50.78% 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.86:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.63.

Description generated from the measured properties of this color.

Conversions of #e7ca1c into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffcc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5931

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

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #d6caa2 ≈ 0.001% of males
Protanopia #dfc500 ≈ 1.01% of males
Deuteranopia #e7cf2e ≈ 1.27% of males
Tritanopia #fabaad ≈ 0.0001% of males
Protanomaly #e2c700 ≈ 1.08% of males
Deuteranomaly #e7cd28 ≈ 4.63% of males
Tritanomaly #f3c08a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e7ca1c {
  color: #e7ca1c;
}
Background
.bg-e7ca1c {
  background-color: #e7ca1c;
  color: #000000;
}
Border
.border-e7ca1c {
  border: 2px solid #e7ca1c;
}
CSS variables
:root {
  --color-primary: #e7ca1c;
  --color-primary-rgb: 231 202 28;
  --color-primary-hsl: 51 81% 51%;
}
Gradient
.gradient-e7ca1c {
  background: linear-gradient(135deg, #e7ca1c, #9ee71c);
}
Colored shadow
.shadow-e7ca1c {
  box-shadow: 0 8px 24px rgb(231 202 28 / 0.35);
}

Citrine
#e7ca1c  rgb(231, 202, 28)  hsl(51, 81%, 51%)  Citrine
#1c39e7  rgb(28, 57, 231)  hsl(231, 81%, 51%)  Persian Blue
#1ce7ca  rgb(28, 231, 202)  hsl(171, 81%, 51%)  Turquoise
#ca1ce7  rgb(202, 28, 231)  hsl(291, 81%, 51%)  Electric Purple