#0C230F color
The hex color #0C230F is a very dark, desaturated green.
In the RGB color model it is made of 4.7% red, 13.7% green and 5.9% blue (12, 35, 15).
Its hue angle is 128°, with 49% saturation and 9% lightness. For print, the CMYK equivalent is 66% cyan, 0% magenta, 57% yellow and 86% black.
The closest named color is Nightmare (#112211), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.63:1).
#0C230F color codes
| HEX | #0C230F | |
|---|---|---|
| RGB | rgb(12, 35, 15) | |
| RGB percent | rgb(4.7%, 13.7%, 5.9%) | |
| HSL | hsl(128, 49%, 9%) | |
| HSV / HSB | hsv(128, 66%, 14%) | |
| CMYK | cmyk(66%, 0%, 57%, 86%) | |
| CIE LAB | lab(11.38, -14.68, 10.16) | |
| CIE LCH | lch(11.38, 17.85, 145.32) | |
| CIE XYZ | xyz(0.839, 1.315, 0.661) | |
| Decimal | 795407 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C230F, 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 #0C230F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.63:1 | Pass | Pass | Pass |
| #0C230F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.63:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #0C230F looks to people with the most common types of color vision deficiency.
#24200dProtanopia
no red cones#201d10Deuteranopia
no green cones#08221eTritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #0c230f; }
.text { color: #0c230f; }
.border { border: 2px solid #0c230f; }
.transparent { background-color: rgb(12 35 15 / 50%); }
.gradient { background: linear-gradient(to right, #0c230f, #0c231b); }
Similar colors
#112211Nightmare#17240bMidnight Pines#172808Lindworm Green#032e0eHaunted Forest#113311Dark Serpent#003322Pitch-Black Forests#002d04PCB Green#223311Darkest Forest
Closest common color name: British Racing Green.
Questions
- What color is #0C230F?
- #0C230F is a very dark, desaturated green, closest to the named color Nightmare. It belongs to the black family of colors.
- What is the RGB value of #0C230F?
- The RGB value is 12, 35, 15: 12 red, 35 green and 15 blue on a 0 to 255 scale.
- What is the complementary color of #0C230F?
- The complementary color is #230C20, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C230F?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.63:1. WCAG asks for at least 4.5:1 for normal text.