#2F5A42 Color

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

Color preview

#2F5A42

Color formats

HEX
#2F5A42
RGB
rgb(47, 90, 66)
RGBA
rgba(47, 90, 66, 1)
HSL
hsl(147, 31%, 27%)
HSV
hsv(147, 48%, 35%)
CMYK
cmyk(48%, 0%, 27%, 65%)
CSS variable
--color-primary: #2F5A42;
Lowercase HEX
#2f5a42

Shades

Tints

Tones

Harmony

CSS snippets for #2F5A42

.color-2f5a42 {
  color: #2F5A42;
  background-color: #2F5A42;
}

Frequently asked questions

What color is #2F5A42?+

#2F5A42 is a HEX color with RGB value rgb(47, 90, 66) and HSL value hsl(147, 31%, 27%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #2F5A42?+

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