#0C0C09 color
The hex color #0C0C09 is a very dark, grayish yellow.
In the RGB color model it is made of 4.7% red, 4.7% green and 3.5% blue (12, 12, 9).
Its hue angle is 60°, with 14% saturation and 4% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 25% yellow and 95% black.
The closest named color is Sinister (#12110E), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.59:1).
#0C0C09 color codes
| HEX | #0C0C09 | |
|---|---|---|
| RGB | rgb(12, 12, 9) | |
| RGB percent | rgb(4.7%, 4.7%, 3.5%) | |
| HSL | hsl(60, 14%, 4%) | |
| HSV / HSB | hsv(60, 25%, 5%) | |
| CMYK | cmyk(0%, 0%, 25%, 95%) | |
| CIE LAB | lab(3.26, -0.43, 1.18) | |
| CIE LCH | lch(3.26, 1.25, 110.17) | |
| CIE XYZ | xyz(0.332, 0.361, 0.311) | |
| Decimal | 789513 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C0C09, 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 #0C0C09 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.07:1 | Fail | Fail | Fail |
| Sample text | 19.59:1 | Pass | Pass | Pass |
| #0C0C09 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.59:1 | Pass | Pass | Pass |
| Sample text | 1.07: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 #0C0C09 looks to people with the most common types of color vision deficiency.
#0d0c09Protanopia
no red cones#0d0c09Deuteranopia
no green cones#0c0c0bTritanopia
no blue cones#0c0c0cAchromatopsia
no color vision
CSS examples
.background { background-color: #0c0c09; }
.text { color: #0c0c09; }
.border { border: 2px solid #0c0c09; }
.transparent { background-color: rgb(12 12 9 / 50%); }
.gradient { background: linear-gradient(to right, #0c0c09, #0a0c09); }
Similar colors
#12110eSinister#121210Glimpse Into Space#0c0c0cBlack Wash#0b0b0bRaven#0f0f0fOff Black#060606Black Metal#111111Dreamless Sleep#141311Dark Veil
Questions
- What color is #0C0C09?
- #0C0C09 is a very dark, grayish yellow, closest to the named color Sinister. It belongs to the black family of colors.
- What is the RGB value of #0C0C09?
- The RGB value is 12, 12, 9: 12 red, 12 green and 9 blue on a 0 to 255 scale.
- What is the complementary color of #0C0C09?
- The complementary color is #09090C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C0C09?
- White text. Black text has a contrast ratio of 1.07:1 and white text 19.59:1. WCAG asks for at least 4.5:1 for normal text.