#0C5D0C color

#0C5D0C rgb(12, 93, 12)
Shades of green

The hex color #0C5D0C is a dark, moderate green.

In the RGB color model it is made of 4.7% red, 36.5% green and 4.7% blue (12, 93, 12).

Its hue angle is 120°, with 77% saturation and 21% lightness. For print, the CMYK equivalent is 87% cyan, 0% magenta, 87% yellow and 64% black.

The closest named color is Deep Green (#02590F), a difference of 1.6 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 8.12:1).

#0C5D0C color codes

HEX#0C5D0C
RGBrgb(12, 93, 12)
RGB percentrgb(4.7%, 36.5%, 4.7%)
HSLhsl(120, 77%, 21%)
HSV / HSBhsv(120, 87%, 36%)
CMYKcmyk(87%, 0%, 87%, 64%)
CIE LABlab(33.84, -39.03, 36.33)
CIE LCHlch(33.84, 53.32, 137.05)
CIE XYZxyz(4.132, 7.933, 1.661)
Decimal810252
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0C5D0C, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #0C5D0CRatioAAAAAAA large
Sample text2.59:1FailFailFail
Sample text8.12:1PassPassPass
#0C5D0C as text onRatioAAAAAAA large
Sample text8.12:1PassPassPass
Sample text2.59:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #0C5D0C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0c5d0c; }
.text { color: #0c5d0c; }
.border { border: 2px solid #0c5d0c; }
.transparent { background-color: rgb(12 93 12 / 50%); }
.gradient { background: linear-gradient(to right, #0c5d0c, #0c5d35); }
Background
Text color
Border

Similar colors

Questions

What color is #0C5D0C?
#0C5D0C is a dark, moderate green, closest to the named color Deep Green. It belongs to the green family of colors.
What is the RGB value of #0C5D0C?
The RGB value is 12, 93, 12: 12 red, 93 green and 12 blue on a 0 to 255 scale.
What is the complementary color of #0C5D0C?
The complementary color is #5D0C5D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C5D0C?
White text. Black text has a contrast ratio of 2.59:1 and white text 8.12:1. WCAG asks for at least 4.5:1 for normal text.