#2A3A31 color
The hex color #2A3A31 is a very dark, grayish green.
In the RGB color model it is made of 16.5% red, 22.7% green and 19.2% blue (42, 58, 49).
Its hue angle is 146°, with 16% saturation and 20% lightness. For print, the CMYK equivalent is 28% cyan, 0% magenta, 16% yellow and 77% black.
The closest named color is Aztec (#293432), a difference of 5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.01:1).
#2A3A31 color codes
| HEX | #2A3A31 | |
|---|---|---|
| RGB | rgb(42, 58, 49) | |
| RGB percent | rgb(16.5%, 22.7%, 19.2%) | |
| HSL | hsl(146, 16%, 20%) | |
| HSV / HSB | hsv(146, 28%, 23%) | |
| CMYK | cmyk(28%, 0%, 16%, 77%) | |
| CIE LAB | lab(22.79, -8.81, 3.49) | |
| CIE LCH | lch(22.79, 9.47, 158.4) | |
| CIE XYZ | xyz(3.022, 3.74, 3.468) | |
| Decimal | 2767409 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A3A31, 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 #2A3A31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.75:1 | Fail | Fail | Fail |
| Sample text | 12.01:1 | Pass | Pass | Pass |
| #2A3A31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.01:1 | Pass | Pass | Pass |
| Sample text | 1.75: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 #2A3A31 looks to people with the most common types of color vision deficiency.
#3a3831Protanopia
no red cones#373631Deuteranopia
no green cones#273a37Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #2a3a31; }
.text { color: #2a3a31; }
.border { border: 2px solid #2a3a31; }
.transparent { background-color: rgb(42 58 49 / 50%); }
.gradient { background: linear-gradient(to right, #2a3a31, #2a3a39); }
Similar colors
#293432Aztec#3c463eDeep Forest#2b322dTerminal Black#264334Everglade#162825Swamp Thing#394c3bMountain View#334d41Pine Needle#353935Onyx
Questions
- What color is #2A3A31?
- #2A3A31 is a very dark, grayish green, closest to the named color Aztec. It belongs to the gray family of colors.
- What is the RGB value of #2A3A31?
- The RGB value is 42, 58, 49: 42 red, 58 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #2A3A31?
- The complementary color is #3A2A33, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A3A31?
- White text. Black text has a contrast ratio of 1.75:1 and white text 12.01:1. WCAG asks for at least 4.5:1 for normal text.