#004C12 color
The hex color #004C12 is a very dark, vivid green.
In the RGB color model it is made of 0% red, 29.8% green and 7.1% blue (0, 76, 18).
Its hue angle is 134°, with 100% saturation and 15% lightness. For print, the CMYK equivalent is 100% cyan, 0% magenta, 76% yellow and 70% black.
The closest named color is Mysterious Mixture (#0F521A), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.28:1).
#004C12 color codes
| HEX | #004C12 | |
|---|---|---|
| RGB | rgb(0, 76, 18) | |
| RGB percent | rgb(0%, 29.8%, 7.1%) | |
| HSL | hsl(134, 100%, 15%) | |
| HSV / HSB | hsv(134, 100%, 30%) | |
| CMYK | cmyk(100%, 0%, 76%, 70%) | |
| CIE LAB | lab(27.33, -34.33, 27.45) | |
| CIE LCH | lch(27.33, 43.96, 141.35) | |
| CIE XYZ | xyz(2.693, 5.212, 1.436) | |
| Decimal | 19474 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #004C12, 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 #004C12 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.04:1 | Fail | Fail | Fail |
| Sample text | 10.28:1 | Pass | Pass | Pass |
| #004C12 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.28:1 | Pass | Pass | Pass |
| Sample text | 2.04: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 #004C12 looks to people with the most common types of color vision deficiency.
#4d440aProtanopia
no red cones#463e18Deuteranopia
no green cones#004a40Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #004c12; }
.text { color: #004c12; }
.border { border: 2px solid #004c12; }
.transparent { background-color: rgb(0 76 18 / 50%); }
.gradient { background: linear-gradient(to right, #004c12, #004c38); }
Similar colors
#0f521aMysterious Mixture#005511Swamp Monster#114411Realm of the Underworld#004400Woodland Grass#115511Jungle Jam#005522O Tannenbaum#0b5509Forest#02590fDeep Green
Closest common color name: British Racing Green.
Questions
- What color is #004C12?
- #004C12 is a very dark, vivid green, closest to the named color Mysterious Mixture. It belongs to the green family of colors.
- What is the RGB value of #004C12?
- The RGB value is 0, 76, 18: 0 red, 76 green and 18 blue on a 0 to 255 scale.
- What is the complementary color of #004C12?
- The complementary color is #4C003A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #004C12?
- White text. Black text has a contrast ratio of 2.04:1 and white text 10.28:1. WCAG asks for at least 4.5:1 for normal text.