#0C1205 color
The hex color #0C1205 is a very dark, moderate yellow-green.
In the RGB color model it is made of 4.7% red, 7.1% green and 2% blue (12, 18, 5).
Its hue angle is 88°, with 57% saturation and 5% lightness. For print, the CMYK equivalent is 33% cyan, 0% magenta, 72% yellow and 93% black.
The closest named color is Memorial Black (#091101), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.02:1).
#0C1205 color codes
| HEX | #0C1205 | |
|---|---|---|
| RGB | rgb(12, 18, 5) | |
| RGB percent | rgb(4.7%, 7.1%, 2%) | |
| HSL | hsl(88, 57%, 5%) | |
| HSV / HSB | hsv(88, 72%, 7%) | |
| CMYK | cmyk(33%, 0%, 72%, 93%) | |
| CIE LAB | lab(4.71, -4.12, 4.93) | |
| CIE LCH | lch(4.71, 6.42, 129.89) | |
| CIE XYZ | xyz(0.395, 0.522, 0.223) | |
| Decimal | 791045 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C1205, 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 #0C1205 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.02:1 | Pass | Pass | Pass |
| #0C1205 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.02:1 | Pass | Pass | Pass |
| Sample text | 1.1: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 #0C1205 looks to people with the most common types of color vision deficiency.
#131004Protanopia
no red cones#121006Deuteranopia
no green cones#0d110fTritanopia
no blue cones#101010Achromatopsia
no color vision
CSS examples
.background { background-color: #0c1205; }
.text { color: #0c1205; }
.border { border: 2px solid #0c1205; }
.transparent { background-color: rgb(12 18 5 / 50%); }
.gradient { background: linear-gradient(to right, #0c1205, #051205); }
Similar colors
#091101Memorial Black#020f03Blackn’t#041108Jedi Night#001000Cosmic Bit Flip#1e231cUnderworld#191916Twilight Zone#121210Glimpse Into Space#12110eSinister
Closest common color name: Off Black.
Questions
- What color is #0C1205?
- #0C1205 is a very dark, moderate yellow-green, closest to the named color Memorial Black. It belongs to the black family of colors.
- What is the RGB value of #0C1205?
- The RGB value is 12, 18, 5: 12 red, 18 green and 5 blue on a 0 to 255 scale.
- What is the complementary color of #0C1205?
- The complementary color is #0B0512, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C1205?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.02:1. WCAG asks for at least 4.5:1 for normal text.