#0C4828 color
The hex color #0C4828 is a very dark, moderate green.
In the RGB color model it is made of 4.7% red, 28.2% green and 15.7% blue (12, 72, 40).
Its hue angle is 148°, with 71% saturation and 16% lightness. For print, the CMYK equivalent is 83% cyan, 0% magenta, 44% yellow and 72% black.
The closest named color is Lost in the Woods (#014426), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.64:1).
#0C4828 color codes
| HEX | #0C4828 | |
|---|---|---|
| RGB | rgb(12, 72, 40) | |
| RGB percent | rgb(4.7%, 28.2%, 15.7%) | |
| HSL | hsl(148, 71%, 16%) | |
| HSV / HSB | hsv(148, 83%, 28%) | |
| CMYK | cmyk(83%, 0%, 44%, 72%) | |
| CIE LAB | lab(26.35, -27.17, 14.01) | |
| CIE LCH | lch(26.35, 30.57, 152.72) | |
| CIE XYZ | xyz(2.852, 4.866, 2.796) | |
| Decimal | 804904 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C4828, 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 #0C4828 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.97:1 | Fail | Fail | Fail |
| Sample text | 10.64:1 | Pass | Pass | Pass |
| #0C4828 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.64:1 | Pass | Pass | Pass |
| Sample text | 1.97: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 #0C4828 looks to people with the most common types of color vision deficiency.
#484126Protanopia
no red cones#413c2aDeuteranopia
no green cones#004740Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #0c4828; }
.text { color: #0c4828; }
.border { border: 2px solid #0c4828; }
.transparent { background-color: rgb(12 72 40 / 50%); }
.gradient { background: linear-gradient(to right, #0c4828, #0c4846); }
Similar colors
#014426Lost in the Woods#014420Deep Pond#004225British Racing Green#17462eZucchini#1c401fQueen of Trees#21421eMyrtle#1f5429Moor-Monster#114411Realm of the Underworld
Questions
- What color is #0C4828?
- #0C4828 is a very dark, moderate green, closest to the named color Lost in the Woods. It belongs to the green family of colors.
- What is the RGB value of #0C4828?
- The RGB value is 12, 72, 40: 12 red, 72 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #0C4828?
- The complementary color is #480C2C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C4828?
- White text. Black text has a contrast ratio of 1.97:1 and white text 10.64:1. WCAG asks for at least 4.5:1 for normal text.