#0C180D color
The hex color #0C180D is a very dark, desaturated green.
In the RGB color model it is made of 4.7% red, 9.4% green and 5.1% blue (12, 24, 13).
Its hue angle is 125°, with 33% saturation and 7% lightness. For print, the CMYK equivalent is 50% cyan, 0% magenta, 46% yellow and 91% black.
The closest named color is Cosmic Bit Flip (#001000), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.23:1).
#0C180D color codes
| HEX | #0C180D | |
|---|---|---|
| RGB | rgb(12, 24, 13) | |
| RGB percent | rgb(4.7%, 9.4%, 5.1%) | |
| HSL | hsl(125, 33%, 7%) | |
| HSV / HSB | hsv(125, 50%, 9%) | |
| CMYK | cmyk(50%, 0%, 46%, 91%) | |
| CIE LAB | lab(6.87, -7.04, 4.71) | |
| CIE LCH | lch(6.87, 8.47, 146.2) | |
| CIE XYZ | xyz(0.551, 0.76, 0.498) | |
| Decimal | 792589 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C180D, 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 #0C180D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.15:1 | Fail | Fail | Fail |
| Sample text | 18.23:1 | Pass | Pass | Pass |
| #0C180D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.23:1 | Pass | Pass | Pass |
| Sample text | 1.15: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 #0C180D looks to people with the most common types of color vision deficiency.
#18160cProtanopia
no red cones#17150eDeuteranopia
no green cones#0b1715Tritanopia
no blue cones#151515Achromatopsia
no color vision
CSS examples
.background { background-color: #0c180d; }
.text { color: #0c180d; }
.border { border: 2px solid #0c180d; }
.transparent { background-color: rgb(12 24 13 / 50%); }
.gradient { background: linear-gradient(to right, #0c180d, #0c1813); }
Similar colors
#001000Cosmic Bit Flip#020f03Blackn’t#041108Jedi Night#091101Memorial Black#1e231cUnderworld#112211Nightmare#162825Swamp Thing#17240bMidnight Pines
Closest common color name: Off Black.
Questions
- What color is #0C180D?
- #0C180D is a very dark, desaturated green, closest to the named color Cosmic Bit Flip. It belongs to the black family of colors.
- What is the RGB value of #0C180D?
- The RGB value is 12, 24, 13: 12 red, 24 green and 13 blue on a 0 to 255 scale.
- What is the complementary color of #0C180D?
- The complementary color is #180C17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C180D?
- White text. Black text has a contrast ratio of 1.15:1 and white text 18.23:1. WCAG asks for at least 4.5:1 for normal text.