#0C5F28 Color

Inspect #0C5F28 across formats, palettes, contrast and closest named color matches.

Color preview

#0C5F28

Color formats

HEX
#0C5F28
RGB
rgb(12, 95, 40)
RGBA
rgba(12, 95, 40, 1)
HSL
hsl(140, 78%, 21%)
HSV
hsv(140, 87%, 37%)
CMYK
cmyk(87%, 0%, 58%, 63%)
CSS variable
--color-primary: #0C5F28;
Lowercase HEX
#0c5f28

Shades

Tints

Tones

Harmony

CSS snippets for #0C5F28

.color-0c5f28 {
  color: #0C5F28;
  background-color: #0C5F28;
}

Frequently asked questions

What color is #0C5F28?+

#0C5F28 is a HEX color with RGB value rgb(12, 95, 40) and HSL value hsl(140, 78%, 21%). Its closest CSS named color is DarkGreen.

What is the closest Tailwind color to #0C5F28?+

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