#4E7D12

#4e7d12 ≈ Avocado

  • yellow-green
  • Lightness: low
  • Saturation: moderate
  • Balanced

#4e7d12 is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 30.59% red, 49.02% green and 7.06% blue; printed in CMYK it uses 37.6% cyan, 0% magenta, 85.6% yellow and 50.98% black. Its hue angle is 86.36°, with 74.83% saturation and 28.04% lightness in HSL. It sits between warm and cool, and is often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and luxury branding. White text on this color reaches a contrast ratio of 4.92:1 (WCAG AA). The closest named color is Avocado (#568203), ΔE 2.75.

Description generated from the measured properties of this color.

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

Readable text 4.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #647659 ≈ 0.001% of males
Protanopia #837300 ≈ 1.01% of males
Deuteranopia #7c6f1f ≈ 1.27% of males
Tritanopia #4f776a ≈ 0.0001% of males
Protanomaly #717700 ≈ 1.08% of males
Deuteranomaly #6d751b ≈ 4.63% of males
Tritanomaly #4f7a54 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e7d12 {
  color: #4e7d12;
}
Background
.bg-4e7d12 {
  background-color: #4e7d12;
  color: #ffffff;
}
Border
.border-4e7d12 {
  border: 2px solid #4e7d12;
}
CSS variables
:root {
  --color-primary: #4e7d12;
  --color-primary-rgb: 78 125 18;
  --color-primary-hsl: 86 75% 28%;
}
Gradient
.gradient-4e7d12 {
  background: linear-gradient(135deg, #4e7d12, #187d12);
}
Colored shadow
.shadow-4e7d12 {
  box-shadow: 0 8px 24px rgb(78 125 18 / 0.35);
}

Avocado
#4e7d12  rgb(78, 125, 18)  hsl(86, 75%, 28%)  Avocado
#41127d  rgb(65, 18, 125)  hsl(266, 75%, 28%)  Persian Indigo
#124e7d  rgb(18, 78, 125)  hsl(206, 75%, 28%)  Yale Blue
#7d124e  rgb(125, 18, 78)  hsl(326, 75%, 28%)  Pansy Purple