#5FA042

#5fa042 ≈ Olive Drab

  • green
  • Lightness: medium
  • Saturation: moderate
  • Balanced

#5fa042 is a color from the green family, with medium lightness and moderate saturation. In the RGB model it is made of 37.25% red, 62.75% green and 25.88% blue; printed in CMYK it uses 40.63% cyan, 0% magenta, 58.75% yellow and 37.25% black. Its hue angle is 101.49°, with 41.59% saturation and 44.31% lightness in HSL. It sits between warm and cool, and is often associated with nature, health and balance. Designers typically use it for eco-friendly brands, health and wellness and brand accents. Black text on this color reaches a contrast ratio of 6.59:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 7.93.

Description generated from the measured properties of this color.

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

Readable text 3.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #909090 ≈ 0.003% of males
Achromatomaly #7f9779 ≈ 0.001% of males
Protanopia #a59438 ≈ 1.01% of males
Deuteranopia #9c8e49 ≈ 1.27% of males
Tritanopia #5c9b8b ≈ 0.0001% of males
Protanomaly #8e993c ≈ 1.08% of males
Deuteranomaly #889646 ≈ 4.63% of males
Tritanomaly #5d9d75 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5fa042 {
  color: #5fa042;
}
Background
.bg-5fa042 {
  background-color: #5fa042;
  color: #000000;
}
Border
.border-5fa042 {
  border: 2px solid #5fa042;
}
CSS variables
:root {
  --color-primary: #5fa042;
  --color-primary-rgb: 95 160 66;
  --color-primary-hsl: 101 42% 44%;
}
Gradient
.gradient-5fa042 {
  background: linear-gradient(135deg, #5fa042, #42a054);
}
Colored shadow
.shadow-5fa042 {
  box-shadow: 0 8px 24px rgb(95 160 66 / 0.35);
}

Olive Drab
#5fa042  rgb(95, 160, 66)  hsl(101, 42%, 44%)  Olive Drab
#8342a0  rgb(131, 66, 160)  hsl(281, 42%, 44%)  Royal Purple
#425fa0  rgb(66, 95, 160)  hsl(221, 42%, 44%)  Denim
#a0425f  rgb(160, 66, 95)  hsl(341, 42%, 44%)  Twilight Lavender