#8F8A5F

#8f8a5f ≈ Moss Green

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

#8f8a5f is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 56.08% red, 54.12% green and 37.25% blue; printed in CMYK it uses 0% cyan, 3.5% magenta, 33.57% yellow and 43.92% black. Its hue angle is 53.75°, with 20.17% saturation and 46.67% 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.97:1 (WCAG AA). The closest named color is Moss Green (#8a9a5b), ΔE 8.43.

Description generated from the measured properties of this color.

Conversions of #8f8a5f 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.2484

Readable text 3.52:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #8b897a ≈ 0.001% of males
Protanopia #92875c ≈ 1.01% of males
Deuteranopia #938a61 ≈ 1.27% of males
Tritanopia #96847f ≈ 0.0001% of males
Protanomaly #91885d ≈ 1.08% of males
Deuteranomaly #928a60 ≈ 4.63% of males
Tritanomaly #938773 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8f8a5f {
  color: #8f8a5f;
}
Background
.bg-8f8a5f {
  background-color: #8f8a5f;
  color: #000000;
}
Border
.border-8f8a5f {
  border: 2px solid #8f8a5f;
}
CSS variables
:root {
  --color-primary: #8f8a5f;
  --color-primary-rgb: 143 138 95;
  --color-primary-hsl: 54 20% 47%;
}
Gradient
.gradient-8f8a5f {
  background: linear-gradient(135deg, #8f8a5f, #7c8f5f);
}
Colored shadow
.shadow-8f8a5f {
  box-shadow: 0 8px 24px rgb(143 138 95 / 0.35);
}

Moss Green
#8f8a5f  rgb(143, 138, 95)  hsl(54, 20%, 47%)  Moss Green
#5f648f  rgb(95, 100, 143)  hsl(234, 20%, 47%)  Queen Blue
#5f8f8a  rgb(95, 143, 138)  hsl(174, 20%, 47%)  Cadet Blue
#8a5f8f  rgb(138, 95, 143)  hsl(294, 20%, 47%)  Deep Plum