#0C2F21 color
The hex color #0C2F21 is a very dark, moderate spring green.
In the RGB color model it is made of 4.7% red, 18.4% green and 12.9% blue (12, 47, 33).
Its hue angle is 156°, with 59% saturation and 12% lightness. For print, the CMYK equivalent is 74% cyan, 0% magenta, 30% yellow and 82% black.
The closest named color is Pitch-Black Forests (#003322), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.54:1).
#0C2F21 color codes
| HEX | #0C2F21 | |
|---|---|---|
| RGB | rgb(12, 47, 33) | |
| RGB percent | rgb(4.7%, 18.4%, 12.9%) | |
| HSL | hsl(156, 59%, 12%) | |
| HSV / HSB | hsv(156, 74%, 18%) | |
| CMYK | cmyk(74%, 0%, 30%, 82%) | |
| CIE LAB | lab(16.61, -16.75, 5.35) | |
| CIE LCH | lch(16.61, 17.58, 162.28) | |
| CIE XYZ | xyz(1.443, 2.221, 1.791) | |
| Decimal | 798497 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C2F21, 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 #0C2F21 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.54:1 | Pass | Pass | Pass |
| #0C2F21 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.54:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #0C2F21 looks to people with the most common types of color vision deficiency.
#2e2b20Protanopia
no red cones#292822Deuteranopia
no green cones#002f2bTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #0c2f21; }
.text { color: #0c2f21; }
.border { border: 2px solid #0c2f21; }
.transparent { background-color: rgb(12 47 33 / 50%); }
.gradient { background: linear-gradient(to right, #0c2f21, #0c2b2f); }
Similar colors
#003322Pitch-Black Forests#112211Nightmare#264334Everglade#032e0eHaunted Forest#113311Dark Serpent#12403cBotanical Night#003311Haunted Hills#17462eZucchini
Closest common color name: British Racing Green.
Questions
- What color is #0C2F21?
- #0C2F21 is a very dark, moderate spring green, closest to the named color Pitch-Black Forests. It belongs to the green family of colors.
- What is the RGB value of #0C2F21?
- The RGB value is 12, 47, 33: 12 red, 47 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #0C2F21?
- The complementary color is #2F0C1A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C2F21?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.54:1. WCAG asks for at least 4.5:1 for normal text.