#508C21 Color

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

Color preview

#508C21

Color formats

HEX
#508C21
RGB
rgb(80, 140, 33)
RGBA
rgba(80, 140, 33, 1)
HSL
hsl(94, 62%, 34%)
HSV
hsv(94, 76%, 55%)
CMYK
cmyk(43%, 0%, 76%, 45%)
CSS variable
--color-primary: #508C21;
Lowercase HEX
#508c21

Shades

Tints

Tones

Harmony

CSS snippets for #508C21

.color-508c21 {
  color: #508C21;
  background-color: #508C21;
}

Frequently asked questions

What color is #508C21?+

#508C21 is a HEX color with RGB value rgb(80, 140, 33) and HSL value hsl(94, 62%, 34%). Its closest CSS named color is OliveDrab.

What is the closest Tailwind color to #508C21?+

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