#40502F Color

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

Color preview

#40502F

Color formats

HEX
#40502F
RGB
rgb(64, 80, 47)
RGBA
rgba(64, 80, 47, 1)
HSL
hsl(89, 26%, 25%)
HSV
hsv(89, 41%, 31%)
CMYK
cmyk(20%, 0%, 41%, 69%)
CSS variable
--color-primary: #40502F;
Lowercase HEX
#40502f

Shades

Tints

Tones

Harmony

CSS snippets for #40502F

.color-40502f {
  color: #40502F;
  background-color: #40502F;
}

Frequently asked questions

What color is #40502F?+

#40502F is a HEX color with RGB value rgb(64, 80, 47) and HSL value hsl(89, 26%, 25%). Its closest CSS named color is DarkOliveGreen.

What is the closest Tailwind color to #40502F?+

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