#8A8151

#8a8151 ≈ Moss Green

  • yellow
  • Lightness: medium
  • Saturation: muted
  • Warm

#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.

Conversions of #8a8151 into other color spaces
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 luminance0.217

Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #848170 ≈ 0.001% of males
Protanopia #8a7e4d ≈ 1.01% of males
Deuteranopia #8c8253 ≈ 1.27% of males
Tritanopia #927b75 ≈ 0.0001% of males
Protanomaly #8a7f4f ≈ 1.08% of males
Deuteranomaly #8b8252 ≈ 4.63% of males
Tritanomaly #8f7d68 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a8151 {
  color: #8a8151;
}
Background
.bg-8a8151 {
  background-color: #8a8151;
  color: #000000;
}
Border
.border-8a8151 {
  border: 2px solid #8a8151;
}
CSS variables
:root {
  --color-primary: #8a8151;
  --color-primary-rgb: 138 129 81;
  --color-primary-hsl: 51 26% 43%;
}
Gradient
.gradient-8a8151 {
  background: linear-gradient(135deg, #8a8151, #768a51);
}
Colored shadow
.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