#0C281E color
The hex color #0C281E is a very dark, moderate spring green.
In the RGB color model it is made of 4.7% red, 15.7% green and 11.8% blue (12, 40, 30).
Its hue angle is 159°, with 54% saturation and 10% lightness. For print, the CMYK equivalent is 70% cyan, 0% magenta, 25% yellow and 84% black.
The closest named color is Nightmare (#112211), a difference of 4.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.7:1).
#0C281E color codes
| HEX | #0C281E | |
|---|---|---|
| RGB | rgb(12, 40, 30) | |
| RGB percent | rgb(4.7%, 15.7%, 11.8%) | |
| HSL | hsl(159, 54%, 10%) | |
| HSV / HSB | hsv(159, 70%, 16%) | |
| CMYK | cmyk(70%, 0%, 25%, 84%) | |
| CIE LAB | lab(13.76, -13.69, 3.44) | |
| CIE LCH | lch(13.76, 14.11, 165.89) | |
| CIE XYZ | xyz(1.145, 1.689, 1.494) | |
| Decimal | 796702 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C281E, 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 #0C281E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.34:1 | Fail | Fail | Fail |
| Sample text | 15.7:1 | Pass | Pass | Pass |
| #0C281E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.7:1 | Pass | Pass | Pass |
| Sample text | 1.34: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 #0C281E looks to people with the most common types of color vision deficiency.
#27251dProtanopia
no red cones#23221fDeuteranopia
no green cones#022825Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #0c281e; }
.text { color: #0c281e; }
.border { border: 2px solid #0c281e; }
.transparent { background-color: rgb(12 40 30 / 50%); }
.gradient { background: linear-gradient(to right, #0c281e, #0c2428); }
Similar colors
#112211Nightmare#162825Swamp Thing#003322Pitch-Black Forests#17240bMidnight Pines#264334Everglade#12403cBotanical Night#172808Lindworm Green#032e0eHaunted Forest
Closest common color name: British Racing Green.
Questions
- What color is #0C281E?
- #0C281E is a very dark, moderate spring green, closest to the named color Nightmare. It belongs to the green family of colors.
- What is the RGB value of #0C281E?
- The RGB value is 12, 40, 30: 12 red, 40 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #0C281E?
- The complementary color is #280C16, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C281E?
- White text. Black text has a contrast ratio of 1.34:1 and white text 15.7:1. WCAG asks for at least 4.5:1 for normal text.