#0C2009 color
The hex color #0C2009 is a very dark, moderate green.
In the RGB color model it is made of 4.7% red, 12.5% green and 3.5% blue (12, 32, 9).
Its hue angle is 112°, with 56% saturation and 8% lightness. For print, the CMYK equivalent is 62% cyan, 0% magenta, 72% yellow and 87% black.
The closest named color is Nightmare (#112211), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.13:1).
#0C2009 color codes
| HEX | #0C2009 | |
|---|---|---|
| RGB | rgb(12, 32, 9) | |
| RGB percent | rgb(4.7%, 12.5%, 3.5%) | |
| HSL | hsl(112, 56%, 8%) | |
| HSV / HSB | hsv(112, 72%, 13%) | |
| CMYK | cmyk(62%, 0%, 72%, 87%) | |
| CIE LAB | lab(10.04, -13.88, 11.03) | |
| CIE LCH | lch(10.04, 17.72, 141.52) | |
| CIE XYZ | xyz(0.717, 1.131, 0.439) | |
| Decimal | 794633 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C2009, 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 #0C2009 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.13:1 | Pass | Pass | Pass |
| #0C2009 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.13:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #0C2009 looks to people with the most common types of color vision deficiency.
#211d07Protanopia
no red cones#1e1b0bDeuteranopia
no green cones#0a1f1bTritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #0c2009; }
.text { color: #0c2009; }
.border { border: 2px solid #0c2009; }
.transparent { background-color: rgb(12 32 9 / 50%); }
.gradient { background: linear-gradient(to right, #0c2009, #092011); }
Similar colors
#112211Nightmare#17240bMidnight Pines#172808Lindworm Green#032e0eHaunted Forest#113311Dark Serpent#223311Darkest Forest#002d04PCB Green#001000Cosmic Bit Flip
Closest common color name: British Racing Green.
Questions
- What color is #0C2009?
- #0C2009 is a very dark, moderate green, closest to the named color Nightmare. It belongs to the black family of colors.
- What is the RGB value of #0C2009?
- The RGB value is 12, 32, 9: 12 red, 32 green and 9 blue on a 0 to 255 scale.
- What is the complementary color of #0C2009?
- The complementary color is #1D0920, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C2009?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.13:1. WCAG asks for at least 4.5:1 for normal text.