#8a8151 ≈ Moss Green
#8a8151 is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 54.12% red, 50.59% green and 31.76% blue; printed in CMYK it uses 0% cyan, 6.52% magenta, 41.3% yellow and 45.88% black. Its hue angle is 50.53°, with 26.03% saturation and 42.94% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 5.34:1 (WCAG AA). The closest named color is Moss Green (#8a9a5b), ΔE 10.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.217 |
Shades
#8a8151 mixed progressively with black.
Tints
#8a8151 mixed progressively with white.
Tones
#8a8151 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a8151 {
color: #8a8151;
}
.bg-8a8151 {
background-color: #8a8151;
color: #000000;
}
.border-8a8151 {
border: 2px solid #8a8151;
}
:root {
--color-primary: #8a8151;
--color-primary-rgb: 138 129 81;
--color-primary-hsl: 51 26% 43%;
}
.gradient-8a8151 {
background: linear-gradient(135deg, #8a8151, #768a51);
}
.shadow-8a8151 {
box-shadow: 0 8px 24px rgb(138 129 81 / 0.35);
}
Moss Green
#8a8151 rgb(138, 129, 81) hsl(51, 26%, 43%) Moss Green
#515a8a rgb(81, 90, 138) hsl(231, 26%, 43%) Queen Blue
#518a81 rgb(81, 138, 129) hsl(171, 26%, 43%) Viridian
#81518a rgb(129, 81, 138) hsl(291, 26%, 43%) Deep Plum