#405A2F Color

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

Color preview

#405A2F

Color formats

HEX
#405A2F
RGB
rgb(64, 90, 47)
RGBA
rgba(64, 90, 47, 1)
HSL
hsl(96, 31%, 27%)
HSV
hsv(96, 48%, 35%)
CMYK
cmyk(29%, 0%, 48%, 65%)
CSS variable
--color-primary: #405A2F;
Lowercase HEX
#405a2f

Shades

Tints

Tones

Harmony

CSS snippets for #405A2F

.color-405a2f {
  color: #405A2F;
  background-color: #405A2F;
}

Frequently asked questions

What color is #405A2F?+

#405A2F is a HEX color with RGB value rgb(64, 90, 47) and HSL value hsl(96, 31%, 27%). Its closest CSS named color is DarkOliveGreen.

What is the closest Tailwind color to #405A2F?+

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