#0C0F08 color
The hex color #0C0F08 is a very dark, desaturated yellow-green.
In the RGB color model it is made of 4.7% red, 5.9% green and 3.1% blue (12, 15, 8).
Its hue angle is 86°, with 30% saturation and 5% lightness. For print, the CMYK equivalent is 20% cyan, 0% magenta, 47% yellow and 94% black.
The closest named color is Glimpse Into Space (#121210), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.31:1).
#0C0F08 color codes
| HEX | #0C0F08 | |
|---|---|---|
| RGB | rgb(12, 15, 8) | |
| RGB percent | rgb(4.7%, 5.9%, 3.1%) | |
| HSL | hsl(86, 30%, 5%) | |
| HSV / HSB | hsv(86, 47%, 6%) | |
| CMYK | cmyk(20%, 0%, 47%, 94%) | |
| CIE LAB | lab(3.95, -2.02, 2.59) | |
| CIE LCH | lch(3.95, 3.29, 127.96) | |
| CIE XYZ | xyz(0.366, 0.437, 0.295) | |
| Decimal | 790280 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C0F08, 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 #0C0F08 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.09:1 | Fail | Fail | Fail |
| Sample text | 19.31:1 | Pass | Pass | Pass |
| #0C0F08 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.31:1 | Pass | Pass | Pass |
| Sample text | 1.09: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 #0C0F08 looks to people with the most common types of color vision deficiency.
#100e08Protanopia
no red cones#0f0e08Deuteranopia
no green cones#0c0e0dTritanopia
no blue cones#0e0e0eAchromatopsia
no color vision
CSS examples
.background { background-color: #0c0f08; }
.text { color: #0c0f08; }
.border { border: 2px solid #0c0f08; }
.transparent { background-color: rgb(12 15 8 / 50%); }
.gradient { background: linear-gradient(to right, #0c0f08, #090f08); }
Similar colors
#121210Glimpse Into Space#12110eSinister#141311Dark Veil#161410King Kong#191916Twilight Zone#0f0f0fOff Black#0c0c0cBlack Wash#0b0b0bRaven
Questions
- What color is #0C0F08?
- #0C0F08 is a very dark, desaturated yellow-green, closest to the named color Glimpse Into Space. It belongs to the black family of colors.
- What is the RGB value of #0C0F08?
- The RGB value is 12, 15, 8: 12 red, 15 green and 8 blue on a 0 to 255 scale.
- What is the complementary color of #0C0F08?
- The complementary color is #0B080F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C0F08?
- White text. Black text has a contrast ratio of 1.09:1 and white text 19.31:1. WCAG asks for at least 4.5:1 for normal text.