#8A9871 Color

Inspect #8A9871 across formats, palettes, contrast and closest named color matches.

Color preview

#8A9871

Color formats

HEX
#8A9871
RGB
rgb(138, 152, 113)
RGBA
rgba(138, 152, 113, 1)
HSL
hsl(82, 16%, 52%)
HSV
hsv(82, 26%, 60%)
CMYK
cmyk(9%, 0%, 26%, 40%)
CSS variable
--color-primary: #8A9871;
Lowercase HEX
#8a9871

Shades

Tints

Tones

Harmony

CSS snippets for #8A9871

.color-8a9871 {
  color: #8A9871;
  background-color: #8A9871;
}

Frequently asked questions

What color is #8A9871?+

#8A9871 is a HEX color with RGB value rgb(138, 152, 113) and HSL value hsl(82, 16%, 52%). Its closest CSS named color is Gray.

What is the closest Tailwind color to #8A9871?+

The closest Tailwind color is stone-500, available as the bg-stone-500 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools