#508018

#508018 ≈ Avocado

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

#508018 is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 31.37% red, 50.2% green and 9.41% blue; printed in CMYK it uses 37.5% cyan, 0% magenta, 81.25% yellow and 49.8% black. Its hue angle is 87.69°, with 68.42% saturation and 29.8% 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.73:1 (WCAG AA). The closest named color is Avocado (#568203), ΔE 2.4.

Description generated from the measured properties of this color.

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

Readable text 4.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #67795c ≈ 0.001% of males
Protanopia #867600 ≈ 1.01% of males
Deuteranopia #7f7223 ≈ 1.27% of males
Tritanopia #517a6d ≈ 0.0001% of males
Protanomaly #747a0a ≈ 1.08% of males
Deuteranomaly #6f781f ≈ 4.63% of males
Tritanomaly #517d57 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-508018 {
  color: #508018;
}
Background
.bg-508018 {
  background-color: #508018;
  color: #ffffff;
}
Border
.border-508018 {
  border: 2px solid #508018;
}
CSS variables
:root {
  --color-primary: #508018;
  --color-primary-rgb: 80 128 24;
  --color-primary-hsl: 88 68% 30%;
}
Gradient
.gradient-508018 {
  background: linear-gradient(135deg, #508018, #1c8018);
}
Colored shadow
.shadow-508018 {
  box-shadow: 0 8px 24px rgb(80 128 24 / 0.35);
}

Avocado
#508018  rgb(80, 128, 24)  hsl(88, 68%, 30%)  Avocado
#481880  rgb(72, 24, 128)  hsl(268, 68%, 30%)  Indigo
#185080  rgb(24, 80, 128)  hsl(208, 68%, 30%)  Yale Blue
#801850  rgb(128, 24, 80)  hsl(328, 68%, 30%)  Pansy Purple