#0C2D0F color
The hex color #0C2D0F is a very dark, moderate green.
In the RGB color model it is made of 4.7% red, 17.6% green and 5.9% blue (12, 45, 15).
Its hue angle is 125°, with 58% saturation and 11% lightness. For print, the CMYK equivalent is 73% cyan, 0% magenta, 67% yellow and 82% black.
The closest named color is Haunted Forest (#032E0E), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.02:1).
#0C2D0F color codes
| HEX | #0C2D0F | |
|---|---|---|
| RGB | rgb(12, 45, 15) | |
| RGB percent | rgb(4.7%, 17.6%, 5.9%) | |
| HSL | hsl(125, 58%, 11%) | |
| HSV / HSB | hsv(125, 73%, 18%) | |
| CMYK | cmyk(73%, 0%, 67%, 82%) | |
| CIE LAB | lab(15.43, -19.83, 15.54) | |
| CIE LCH | lch(15.43, 25.19, 141.92) | |
| CIE XYZ | xyz(1.176, 1.989, 0.774) | |
| Decimal | 797967 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C2D0F, 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 #0C2D0F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 15.02:1 | Pass | Pass | Pass |
| #0C2D0F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.02:1 | Pass | Pass | Pass |
| Sample text | 1.4: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 #0C2D0F looks to people with the most common types of color vision deficiency.
#2e280cProtanopia
no red cones#2a2511Deuteranopia
no green cones#062c26Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #0c2d0f; }
.text { color: #0c2d0f; }
.border { border: 2px solid #0c2d0f; }
.transparent { background-color: rgb(12 45 15 / 50%); }
.gradient { background: linear-gradient(to right, #0c2d0f, #0c2d20); }
Similar colors
#032e0eHaunted Forest#113311Dark Serpent#002d04PCB Green#003311Haunted Hills#172808Lindworm Green#12390dMelancholia#223311Darkest Forest#1c401fQueen of Trees
Closest common color name: British Racing Green.
Questions
- What color is #0C2D0F?
- #0C2D0F 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 #0C2D0F?
- The RGB value is 12, 45, 15: 12 red, 45 green and 15 blue on a 0 to 255 scale.
- What is the complementary color of #0C2D0F?
- The complementary color is #2D0C2A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C2D0F?
- White text. Black text has a contrast ratio of 1.4:1 and white text 15.02:1. WCAG asks for at least 4.5:1 for normal text.