#7FA242

#7fa242 ≈ Moss Green

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

#7fa242 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, 63.53% green and 25.88% blue; printed in CMYK it uses 21.6% cyan, 0% magenta, 59.26% yellow and 36.47% black. Its hue angle is 81.88°, with 42.11% saturation and 44.71% 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.15:1 (WCAG AAA). The closest named color is Moss Green (#8a9a5b), ΔE 6.24.

Description generated from the measured properties of this color.

Conversions of #7fa242 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.3075

Readable text 2.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #979797 ≈ 0.003% of males
Achromatomaly #8e9b7d ≈ 0.001% of males
Protanopia #aa9838 ≈ 1.01% of males
Deuteranopia #a59649 ≈ 1.27% of males
Tritanopia #849b8d ≈ 0.0001% of males
Protanomaly #9b9c3c ≈ 1.08% of males
Deuteranomaly #979b46 ≈ 4.63% of males
Tritanomaly #829e76 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7fa242 {
  color: #7fa242;
}
Background
.bg-7fa242 {
  background-color: #7fa242;
  color: #000000;
}
Border
.border-7fa242 {
  border: 2px solid #7fa242;
}
CSS variables
:root {
  --color-primary: #7fa242;
  --color-primary-rgb: 127 162 66;
  --color-primary-hsl: 82 42% 45%;
}
Gradient
.gradient-7fa242 {
  background: linear-gradient(135deg, #7fa242, #4fa242);
}
Colored shadow
.shadow-7fa242 {
  box-shadow: 0 8px 24px rgb(127 162 66 / 0.35);
}

Moss Green
#7fa242  rgb(127, 162, 66)  hsl(82, 42%, 45%)  Moss Green
#6542a2  rgb(101, 66, 162)  hsl(262, 42%, 45%)  Purple Heart
#427fa2  rgb(66, 127, 162)  hsl(202, 42%, 45%)  Cerulean
#a2427f  rgb(162, 66, 127)  hsl(322, 42%, 45%)  Deep Plum