#0C2811 color
The hex color #0C2811 is a very dark, moderate green.
In the RGB color model it is made of 4.7% red, 15.7% green and 6.7% blue (12, 40, 17).
Its hue angle is 131°, with 54% saturation and 10% lightness. For print, the CMYK equivalent is 70% cyan, 0% magenta, 58% yellow and 84% black.
The closest named color is Haunted Forest (#032E0E), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.82:1).
#0C2811 color codes
| HEX | #0C2811 | |
|---|---|---|
| RGB | rgb(12, 40, 17) | |
| RGB percent | rgb(4.7%, 15.7%, 6.7%) | |
| HSL | hsl(131, 54%, 10%) | |
| HSV / HSB | hsv(131, 70%, 16%) | |
| CMYK | cmyk(70%, 0%, 58%, 84%) | |
| CIE LAB | lab(13.45, -16.95, 11.85) | |
| CIE LCH | lch(13.45, 20.68, 145.05) | |
| CIE XYZ | xyz(1.012, 1.636, 0.793) | |
| Decimal | 796689 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C2811, 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 #0C2811 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.82:1 | Pass | Pass | Pass |
| #0C2811 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.82:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #0C2811 looks to people with the most common types of color vision deficiency.
#29240fProtanopia
no red cones#252113Deuteranopia
no green cones#072722Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #0c2811; }
.text { color: #0c2811; }
.border { border: 2px solid #0c2811; }
.transparent { background-color: rgb(12 40 17 / 50%); }
.gradient { background: linear-gradient(to right, #0c2811, #0c281f); }
Similar colors
#032e0eHaunted Forest#112211Nightmare#172808Lindworm Green#113311Dark Serpent#17240bMidnight Pines#002d04PCB Green#003311Haunted Hills#003322Pitch-Black Forests
Closest common color name: British Racing Green.
Questions
- What color is #0C2811?
- #0C2811 is a very dark, moderate green, closest to the named color Haunted Forest. It belongs to the green family of colors.
- What is the RGB value of #0C2811?
- The RGB value is 12, 40, 17: 12 red, 40 green and 17 blue on a 0 to 255 scale.
- What is the complementary color of #0C2811?
- The complementary color is #280C23, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C2811?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.82:1. WCAG asks for at least 4.5:1 for normal text.