#0C5D0C color
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 | |
|---|---|---|
| RGB | rgb(12, 93, 12) | |
| RGB percent | rgb(4.7%, 36.5%, 4.7%) | |
| HSL | hsl(120, 77%, 21%) | |
| HSV / HSB | hsv(120, 87%, 36%) | |
| CMYK | cmyk(87%, 0%, 87%, 64%) | |
| CIE LAB | lab(33.84, -39.03, 36.33) | |
| CIE LCH | lch(33.84, 53.32, 137.05) | |
| CIE XYZ | xyz(4.132, 7.933, 1.661) | |
| Decimal | 810252 | |
| Short hex | None (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 #0C5D0C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.59:1 | Fail | Fail | Fail |
| Sample text | 8.12:1 | Pass | Pass | Pass |
| #0C5D0C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.12:1 | Pass | Pass | Pass |
| Sample text | 2.59:1 | Fail | Fail | Fail |
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.
#5f5300Protanopia
no red cones#574d16Deuteranopia
no green cones#005a4eTritanopia
no blue cones#505050Achromatopsia
no color vision
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); }
Similar colors
#02590fDeep Green#005800Duck Hunt#195905Lincoln Green#0b5509Forest#115500Donegal Green#006400Dark Green#006400Cucumber#116611Overgrown Temple
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.