#E4CF0A

#e4cf0a ≈ Citrine

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

#e4cf0a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 89.41% red, 81.18% green and 3.92% blue; printed in CMYK it uses 0% cyan, 9.21% magenta, 95.61% yellow and 10.59% black. Its hue angle is 54.22°, with 91.6% saturation and 46.67% 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 13.23:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 0.32.

Description generated from the measured properties of this color.

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

Readable text 1.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cdcdcd ≈ 0.003% of males
Achromatomaly #d7cea3 ≈ 0.001% of males
Protanopia #e4c800 ≈ 1.01% of males
Deuteranopia #ead127 ≈ 1.27% of males
Tritanopia #f6bfb0 ≈ 0.0001% of males
Protanomaly #e4cb00 ≈ 1.08% of males
Deuteranomaly #e8d01f ≈ 4.63% of males
Tritanomaly #efc68c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e4cf0a {
  color: #e4cf0a;
}
Background
.bg-e4cf0a {
  background-color: #e4cf0a;
  color: #000000;
}
Border
.border-e4cf0a {
  border: 2px solid #e4cf0a;
}
CSS variables
:root {
  --color-primary: #e4cf0a;
  --color-primary-rgb: 228 207 10;
  --color-primary-hsl: 54 92% 47%;
}
Gradient
.gradient-e4cf0a {
  background: linear-gradient(135deg, #e4cf0a, #8ce40a);
}
Colored shadow
.shadow-e4cf0a {
  box-shadow: 0 8px 24px rgb(228 207 10 / 0.35);
}

Citrine
#e4cf0a  rgb(228, 207, 10)  hsl(54, 92%, 47%)  Citrine
#0a1fe4  rgb(10, 31, 228)  hsl(234, 92%, 47%)  Blue
#0ae4cf  rgb(10, 228, 207)  hsl(174, 92%, 47%)  Turquoise
#cf0ae4  rgb(207, 10, 228)  hsl(294, 92%, 47%)  Electric Purple