#0C5F1F Color

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

Color preview

#0C5F1F

Color formats

HEX
#0C5F1F
RGB
rgb(12, 95, 31)
RGBA
rgba(12, 95, 31, 1)
HSL
hsl(134, 78%, 21%)
HSV
hsv(134, 87%, 37%)
CMYK
cmyk(87%, 0%, 67%, 63%)
CSS variable
--color-primary: #0C5F1F;
Lowercase HEX
#0c5f1f

Shades

Tints

Tones

Harmony

CSS snippets for #0C5F1F

.color-0c5f1f {
  color: #0C5F1F;
  background-color: #0C5F1F;
}

Frequently asked questions

What color is #0C5F1F?+

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

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

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