#0C5227 color
The hex color #0C5227 is a very dark, moderate green.
In the RGB color model it is made of 4.7% red, 32.2% green and 15.3% blue (12, 82, 39).
Its hue angle is 143°, with 74% saturation and 18% lightness. For print, the CMYK equivalent is 85% cyan, 0% magenta, 52% yellow and 68% black.
The closest named color is Moor-Monster (#1F5429), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.33:1).
#0C5227 color codes
| HEX | #0C5227 | |
|---|---|---|
| RGB | rgb(12, 82, 39) | |
| RGB percent | rgb(4.7%, 32.2%, 15.3%) | |
| HSL | hsl(143, 74%, 18%) | |
| HSV / HSB | hsv(143, 85%, 32%) | |
| CMYK | cmyk(85%, 0%, 52%, 68%) | |
| CIE LAB | lab(30.06, -31.62, 19.4) | |
| CIE LCH | lch(30.06, 37.1, 148.47) | |
| CIE XYZ | xyz(3.535, 6.259, 2.941) | |
| Decimal | 807463 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C5227, 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 #0C5227 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.25:1 | Fail | Fail | Fail |
| Sample text | 9.33:1 | Pass | Pass | Pass |
| #0C5227 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.33:1 | Pass | Pass | Pass |
| Sample text | 2.25: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 #0C5227 looks to people with the most common types of color vision deficiency.
#524a24Protanopia
no red cones#4a452aDeuteranopia
no green cones#005048Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #0c5227; }
.text { color: #0c5227; }
.border { border: 2px solid #0c5227; }
.transparent { background-color: rgb(12 82 39 / 50%); }
.gradient { background: linear-gradient(to right, #0c5227, #0c524a); }
Similar colors
#1f5429Moor-Monster#005522O Tannenbaum#0f521aMysterious Mixture#014420Deep Pond#2b5d34Pine#006131Ficus Elastica#005511Swamp Monster#014426Lost in the Woods
Closest common color name: British Racing Green.
Questions
- What color is #0C5227?
- #0C5227 is a very dark, moderate green, closest to the named color Moor-Monster. It belongs to the green family of colors.
- What is the RGB value of #0C5227?
- The RGB value is 12, 82, 39: 12 red, 82 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #0C5227?
- The complementary color is #520C37, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C5227?
- White text. Black text has a contrast ratio of 2.25:1 and white text 9.33:1. WCAG asks for at least 4.5:1 for normal text.