#2A7E0C Color

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

Color preview

#2A7E0C

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #2A7E0C

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

Frequently asked questions

What color is #2A7E0C?+

#2A7E0C is a HEX color with RGB value rgb(42, 126, 12) and HSL value hsl(104, 83%, 27%). Its closest CSS named color is ForestGreen.

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

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