#7c8a5f ≈ Moss Green
#7c8a5f is a color from the yellow-green family, with medium lightness and muted saturation. In the RGB model it is made of 48.63% red, 54.12% green and 37.25% blue; printed in CMYK it uses 10.14% cyan, 0% magenta, 31.16% yellow and 45.88% black. Its hue angle is 79.53°, with 18.45% 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 5.66:1 (WCAG AA). The closest named color is Moss Green (#8a9a5b), ΔE 6.8.
Description generated from the measured properties of this color.
| 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 luminance | 0.2329 |
Shades
#7c8a5f mixed progressively with black.
Tints
#7c8a5f mixed progressively with white.
Tones
#7c8a5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7c8a5f {
color: #7c8a5f;
}
.bg-7c8a5f {
background-color: #7c8a5f;
color: #000000;
}
.border-7c8a5f {
border: 2px solid #7c8a5f;
}
:root {
--color-primary: #7c8a5f;
--color-primary-rgb: 124 138 95;
--color-primary-hsl: 80 18% 46%;
}
.gradient-7c8a5f {
background: linear-gradient(135deg, #7c8a5f, #678a5f);
}
.shadow-7c8a5f {
box-shadow: 0 8px 24px rgb(124 138 95 / 0.35);
}
Moss Green
#7c8a5f rgb(124, 138, 95) hsl(80, 18%, 46%) Moss Green
#6d5f8a rgb(109, 95, 138) hsl(260, 18%, 46%) Royal Purple
#5f7c8a rgb(95, 124, 138) hsl(200, 18%, 46%) Slate Gray
#8a5f7c rgb(138, 95, 124) hsl(320, 18%, 46%) Mauve Taupe