#5A7E0C Color

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

Color preview

#5A7E0C

Color formats

HEX
#5A7E0C
RGB
rgb(90, 126, 12)
RGBA
rgba(90, 126, 12, 1)
HSL
hsl(79, 83%, 27%)
HSV
hsv(79, 90%, 49%)
CMYK
cmyk(29%, 0%, 90%, 51%)
CSS variable
--color-primary: #5A7E0C;
Lowercase HEX
#5a7e0c

Shades

Tints

Tones

Harmony

CSS snippets for #5A7E0C

.color-5a7e0c {
  color: #5A7E0C;
  background-color: #5A7E0C;
}

Frequently asked questions

What color is #5A7E0C?+

#5A7E0C is a HEX color with RGB value rgb(90, 126, 12) and HSL value hsl(79, 83%, 27%). Its closest CSS named color is OliveDrab.

What is the closest Tailwind color to #5A7E0C?+

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