#E4D40F

#e4d40f ≈ Citrine

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

#e4d40f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 89.41% red, 83.14% green and 5.88% blue; printed in CMYK it uses 0% cyan, 7.02% magenta, 93.42% yellow and 10.59% black. Its hue angle is 55.49°, with 87.65% saturation and 47.65% 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.72:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.25.

Description generated from the measured properties of this color.

Conversions of #e4d40f 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.6362

Readable text 1.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d1d1d1 ≈ 0.003% of males
Achromatomaly #d9d2a6 ≈ 0.001% of males
Protanopia #e8cc00 ≈ 1.01% of males
Deuteranopia #edd42b ≈ 1.27% of males
Tritanopia #f6c4b5 ≈ 0.0001% of males
Protanomaly #e7d000 ≈ 1.08% of males
Deuteranomaly #ead422 ≈ 4.63% of males
Tritanomaly #efcb90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e4d40f {
  color: #e4d40f;
}
Background
.bg-e4d40f {
  background-color: #e4d40f;
  color: #000000;
}
Border
.border-e4d40f {
  border: 2px solid #e4d40f;
}
CSS variables
:root {
  --color-primary: #e4d40f;
  --color-primary-rgb: 228 212 15;
  --color-primary-hsl: 55 88% 48%;
}
Gradient
.gradient-e4d40f {
  background: linear-gradient(135deg, #e4d40f, #8ae40f);
}
Colored shadow
.shadow-e4d40f {
  box-shadow: 0 8px 24px rgb(228 212 15 / 0.35);
}

Citrine
#e4d40f  rgb(228, 212, 15)  hsl(55, 88%, 48%)  Citrine
#0f1fe4  rgb(15, 31, 228)  hsl(235, 88%, 48%)  Blue
#0fe4d4  rgb(15, 228, 212)  hsl(175, 88%, 48%)  Turquoise
#d40fe4  rgb(212, 15, 228)  hsl(295, 88%, 48%)  Electric Purple