#2A6C21 color
The hex color #2A6C21 is a dark, moderate green.
In the RGB color model it is made of 16.5% red, 42.4% green and 12.9% blue (42, 108, 33).
Its hue angle is 113°, with 53% saturation and 28% lightness. For print, the CMYK equivalent is 61% cyan, 0% magenta, 69% yellow and 58% black.
The closest named color is Enchanted Glen (#166D29), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.43:1).
#2A6C21 color codes
| HEX | #2A6C21 | |
|---|---|---|
| RGB | rgb(42, 108, 33) | |
| RGB percent | rgb(16.5%, 42.4%, 12.9%) | |
| HSL | hsl(113, 53%, 28%) | |
| HSV / HSB | hsv(113, 69%, 42%) | |
| CMYK | cmyk(61%, 0%, 69%, 58%) | |
| CIE LAB | lab(40.13, -36.49, 34.55) | |
| CIE LCH | lch(40.13, 50.26, 136.56) | |
| CIE XYZ | xyz(6.592, 11.327, 3.277) | |
| Decimal | 2780193 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A6C21, 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 #2A6C21 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.27:1 | Fail | Fail | Pass |
| Sample text | 6.43:1 | Pass | Fail | Pass |
| #2A6C21 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.43:1 | Pass | Fail | Pass |
| Sample text | 3.27:1 | Fail | Fail | Pass |
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 #2A6C21 looks to people with the most common types of color vision deficiency.
#6f6217Protanopia
no red cones#665c28Deuteranopia
no green cones#21695dTritanopia
no blue cones#5f5f5fAchromatopsia
no color vision
CSS examples
.background { background-color: #2a6c21; }
.text { color: #2a6c21; }
.border { border: 2px solid #2a6c21; }
.transparent { background-color: rgb(42 108 33 / 50%); }
.gradient { background: linear-gradient(to right, #2a6c21, #216c3e); }
Similar colors
#166d29Enchanted Glen#116611Overgrown Temple#08690eLeafy Lush#3d7016Forest Empress#0d6323Woodland Wonder#006400Dark Green#006400Cucumber#007733Forestial
Questions
- What color is #2A6C21?
- #2A6C21 is a dark, moderate green, closest to the named color Enchanted Glen. It belongs to the green family of colors.
- What is the RGB value of #2A6C21?
- The RGB value is 42, 108, 33: 42 red, 108 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #2A6C21?
- The complementary color is #63216C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A6C21?
- White text. Black text has a contrast ratio of 3.27:1 and white text 6.43:1. WCAG asks for at least 4.5:1 for normal text.