#0C2001 color
The hex color #0C2001 is a very dark, vivid green.
In the RGB color model it is made of 4.7% red, 12.5% green and 0.4% blue (12, 32, 1).
Its hue angle is 99°, with 94% saturation and 6% lightness. For print, the CMYK equivalent is 62% cyan, 0% magenta, 97% yellow and 87% black.
The closest named color is Midnight Pines (#17240B), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.18:1).
#0C2001 color codes
| HEX | #0C2001 | |
|---|---|---|
| RGB | rgb(12, 32, 1) | |
| RGB percent | rgb(4.7%, 12.5%, 0.4%) | |
| HSL | hsl(99, 94%, 6%) | |
| HSV / HSB | hsv(99, 97%, 13%) | |
| CMYK | cmyk(62%, 0%, 97%, 87%) | |
| CIE LAB | lab(9.9, -15.09, 14.1) | |
| CIE LCH | lch(9.9, 20.65, 136.95) | |
| CIE XYZ | xyz(0.674, 1.113, 0.208) | |
| Decimal | 794625 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C2001, 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 #0C2001 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.18:1 | Pass | Pass | Pass |
| #0C2001 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.18:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #0C2001 looks to people with the most common types of color vision deficiency.
#221c00Protanopia
no red cones#1f1b03Deuteranopia
no green cones#0b1e1aTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #0c2001; }
.text { color: #0c2001; }
.border { border: 2px solid #0c2001; }
.transparent { background-color: rgb(12 32 1 / 50%); }
.gradient { background: linear-gradient(to right, #0c2001, #012005); }
Similar colors
#17240bMidnight Pines#172808Lindworm Green#112211Nightmare#032e0eHaunted Forest#113311Dark Serpent#002d04PCB Green#223311Darkest Forest#003311Haunted Hills
Closest common color name: British Racing Green.
Questions
- What color is #0C2001?
- #0C2001 is a very dark, vivid green, closest to the named color Midnight Pines. It belongs to the black family of colors.
- What is the RGB value of #0C2001?
- The RGB value is 12, 32, 1: 12 red, 32 green and 1 blue on a 0 to 255 scale.
- What is the complementary color of #0C2001?
- The complementary color is #150120, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C2001?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.18:1. WCAG asks for at least 4.5:1 for normal text.