#7F8A48

#7f8a48 ≈ Moss Green

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

#7f8a48 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, 54.12% green and 28.24% blue; printed in CMYK it uses 7.97% cyan, 0% magenta, 47.83% yellow and 45.88% black. Its hue angle is 70°, with 31.43% saturation and 41.18% lightness in HSL. It is a warm color, 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 5.63:1 (WCAG AA). The closest named color is Moss Green (#8a9a5b), ΔE 5.54.

Description generated from the measured properties of this color.

Conversions of #7f8a48 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.2316

Readable text 3.73:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #828771 ≈ 0.001% of males
Protanopia #928442 ≈ 1.01% of males
Deuteranopia #91854b ≈ 1.27% of males
Tritanopia #85847b ≈ 0.0001% of males
Protanomaly #8b8645 ≈ 1.08% of males
Deuteranomaly #8a874a ≈ 4.63% of males
Tritanomaly #83866a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f8a48 {
  color: #7f8a48;
}
Background
.bg-7f8a48 {
  background-color: #7f8a48;
  color: #000000;
}
Border
.border-7f8a48 {
  border: 2px solid #7f8a48;
}
CSS variables
:root {
  --color-primary: #7f8a48;
  --color-primary-rgb: 127 138 72;
  --color-primary-hsl: 70 31% 41%;
}
Gradient
.gradient-7f8a48 {
  background: linear-gradient(135deg, #7f8a48, #5e8a48);
}
Colored shadow
.shadow-7f8a48 {
  box-shadow: 0 8px 24px rgb(127 138 72 / 0.35);
}

Moss Green
#7f8a48  rgb(127, 138, 72)  hsl(70, 31%, 41%)  Moss Green
#53488a  rgb(83, 72, 138)  hsl(250, 31%, 41%)  Dark Slate Blue
#487f8a  rgb(72, 127, 138)  hsl(190, 31%, 41%)  Teal Blue
#8a487f  rgb(138, 72, 127)  hsl(310, 31%, 41%)  Deep Plum