#AFAF8C Color

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

Color preview

#AFAF8C

Color formats

HEX
#AFAF8C
RGB
rgb(175, 175, 140)
RGBA
rgba(175, 175, 140, 1)
HSL
hsl(60, 18%, 62%)
HSV
hsv(60, 20%, 69%)
CMYK
cmyk(0%, 0%, 20%, 31%)
CSS variable
--color-primary: #AFAF8C;
Lowercase HEX
#afaf8c

Shades

Tints

Tones

Harmony

CSS snippets for #AFAF8C

.color-afaf8c {
  color: #AFAF8C;
  background-color: #AFAF8C;
}

Frequently asked questions

What color is #AFAF8C?+

#AFAF8C is a HEX color with RGB value rgb(175, 175, 140) and HSL value hsl(60, 18%, 62%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AFAF8C?+

The closest Tailwind color is stone-400, available as the bg-stone-400 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