#7F9158

#7f9158 ≈ Moss Green

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

#7f9158 is a color from the yellow-green family, with medium lightness and muted saturation. In the RGB model it is made of 49.8% red, 56.86% green and 34.51% blue; printed in CMYK it uses 12.41% cyan, 0% magenta, 39.31% yellow and 43.14% black. Its hue angle is 78.95°, with 24.46% saturation and 45.69% 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 6.09:1 (WCAG AA). The closest named color is Moss Green (#8a9a5b), ΔE 3.42.

Description generated from the measured properties of this color.

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

Readable text 3.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.09:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #868d79 ≈ 0.001% of males
Protanopia #978b54 ≈ 1.01% of males
Deuteranopia #958a5b ≈ 1.27% of males
Tritanopia #838c83 ≈ 0.0001% of males
Protanomaly #8e8d56 ≈ 1.08% of males
Deuteranomaly #8d8d5a ≈ 4.63% of males
Tritanomaly #818e74 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f9158 {
  color: #7f9158;
}
Background
.bg-7f9158 {
  background-color: #7f9158;
  color: #000000;
}
Border
.border-7f9158 {
  border: 2px solid #7f9158;
}
CSS variables
:root {
  --color-primary: #7f9158;
  --color-primary-rgb: 127 145 88;
  --color-primary-hsl: 79 24% 46%;
}
Gradient
.gradient-7f9158 {
  background: linear-gradient(135deg, #7f9158, #639158);
}
Colored shadow
.shadow-7f9158 {
  box-shadow: 0 8px 24px rgb(127 145 88 / 0.35);
}

Moss Green
#7f9158  rgb(127, 145, 88)  hsl(79, 24%, 46%)  Moss Green
#6a5891  rgb(106, 88, 145)  hsl(259, 24%, 46%)  Royal Purple
#587f91  rgb(88, 127, 145)  hsl(199, 24%, 46%)  Air Force Blue
#91587f  rgb(145, 88, 127)  hsl(319, 24%, 46%)  Twilight Lavender