#7FA04A

#7fa04a ≈ Moss Green

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

#7fa04a is a color from the yellow-green family, with medium lightness and moderate saturation. In the RGB model it is made of 49.8% red, 62.75% green and 29.02% blue; printed in CMYK it uses 20.63% cyan, 0% magenta, 53.75% yellow and 37.25% black. Its hue angle is 83.02°, with 36.75% saturation and 45.88% 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 brand accents. Black text on this color reaches a contrast ratio of 7.03:1 (WCAG AAA). The closest named color is Moss Green (#8a9a5b), ΔE 4.99.

Description generated from the measured properties of this color.

Conversions of #7fa04a 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.3015

Readable text 2.99:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #959595 ≈ 0.003% of males
Achromatomaly #8d9a7e ≈ 0.001% of males
Protanopia #a79742 ≈ 1.01% of males
Deuteranopia #a3954f ≈ 1.27% of males
Tritanopia #83998d ≈ 0.0001% of males
Protanomaly #999a45 ≈ 1.08% of males
Deuteranomaly #96994d ≈ 4.63% of males
Tritanomaly #819c78 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7fa04a {
  color: #7fa04a;
}
Background
.bg-7fa04a {
  background-color: #7fa04a;
  color: #000000;
}
Border
.border-7fa04a {
  border: 2px solid #7fa04a;
}
CSS variables
:root {
  --color-primary: #7fa04a;
  --color-primary-rgb: 127 160 74;
  --color-primary-hsl: 83 37% 46%;
}
Gradient
.gradient-7fa04a {
  background: linear-gradient(135deg, #7fa04a, #54a04a);
}
Colored shadow
.shadow-7fa04a {
  box-shadow: 0 8px 24px rgb(127 160 74 / 0.35);
}

Moss Green
#7fa04a  rgb(127, 160, 74)  hsl(83, 37%, 46%)  Moss Green
#6b4aa0  rgb(107, 74, 160)  hsl(263, 37%, 46%)  Royal Purple
#4a7fa0  rgb(74, 127, 160)  hsl(203, 37%, 46%)  Steel Blue
#a04a7f  rgb(160, 74, 127)  hsl(323, 37%, 46%)  Deep Plum