#2A4B12 color
The hex color #2A4B12 is a very dark, moderate green.
In the RGB color model it is made of 16.5% red, 29.4% green and 7.1% blue (42, 75, 18).
Its hue angle is 95°, with 61% saturation and 18% lightness. For print, the CMYK equivalent is 44% cyan, 0% magenta, 76% yellow and 71% black.
The closest named color is Treetop Cathedral (#2F4A15), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.94:1).
#2A4B12 color codes
| HEX | #2A4B12 | |
|---|---|---|
| RGB | rgb(42, 75, 18) | |
| RGB percent | rgb(16.5%, 29.4%, 7.1%) | |
| HSL | hsl(95, 61%, 18%) | |
| HSV / HSB | hsv(95, 76%, 29%) | |
| CMYK | cmyk(44%, 0%, 76%, 71%) | |
| CIE LAB | lab(28.3, -23.32, 28.88) | |
| CIE LCH | lch(28.3, 37.12, 128.93) | |
| CIE XYZ | xyz(3.58, 5.568, 1.458) | |
| Decimal | 2771730 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A4B12, 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 #2A4B12 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.11:1 | Fail | Fail | Fail |
| Sample text | 9.94:1 | Pass | Pass | Pass |
| #2A4B12 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.94:1 | Pass | Pass | Pass |
| Sample text | 2.11: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 #2A4B12 looks to people with the most common types of color vision deficiency.
#4e440aProtanopia
no red cones#4a4217Deuteranopia
no green cones#294840Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #2a4b12; }
.text { color: #2a4b12; }
.border { border: 2px solid #2a4b12; }
.transparent { background-color: rgb(42 75 18 / 50%); }
.gradient { background: linear-gradient(to right, #2a4b12, #124b17); }
Similar colors
#2f4a15Treetop Cathedral#114411Realm of the Underworld#2f441fForestry#335500Deep Forestial Escapade#004400Woodland Grass#0f521aMysterious Mixture#115511Jungle Jam#21421eMyrtle
Closest common color name: Army Green.
Questions
- What color is #2A4B12?
- #2A4B12 is a very dark, moderate green, closest to the named color Treetop Cathedral. It belongs to the green family of colors.
- What is the RGB value of #2A4B12?
- The RGB value is 42, 75, 18: 42 red, 75 green and 18 blue on a 0 to 255 scale.
- What is the complementary color of #2A4B12?
- The complementary color is #33124B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A4B12?
- White text. Black text has a contrast ratio of 2.11:1 and white text 9.94:1. WCAG asks for at least 4.5:1 for normal text.