#2A5F28 color
The hex color #2A5F28 is a dark, desaturated green.
In the RGB color model it is made of 16.5% red, 37.3% green and 15.7% blue (42, 95, 40).
Its hue angle is 118°, with 41% saturation and 26% lightness. For print, the CMYK equivalent is 56% cyan, 0% magenta, 58% yellow and 63% black.
The closest named color is Woodland Wonder (#0D6323), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.59:1).
#2A5F28 color codes
| HEX | #2A5F28 | |
|---|---|---|
| RGB | rgb(42, 95, 40) | |
| RGB percent | rgb(16.5%, 37.3%, 15.7%) | |
| HSL | hsl(118, 41%, 26%) | |
| HSV / HSB | hsv(118, 58%, 37%) | |
| CMYK | cmyk(56%, 0%, 58%, 63%) | |
| CIE LAB | lab(35.65, -30.08, 25.92) | |
| CIE LCH | lch(35.65, 39.71, 139.24) | |
| CIE XYZ | xyz(5.43, 8.829, 3.425) | |
| Decimal | 2776872 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A5F28, 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 #2A5F28 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.77:1 | Fail | Fail | Fail |
| Sample text | 7.59:1 | Pass | Pass | Pass |
| #2A5F28 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.59:1 | Pass | Pass | Pass |
| Sample text | 2.77: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 #2A5F28 looks to people with the most common types of color vision deficiency.
#615723Protanopia
no red cones#5a522cDeuteranopia
no green cones#235c53Tritanopia
no blue cones#545454Achromatopsia
no color vision
CSS examples
.background { background-color: #2a5f28; }
.text { color: #2a5f28; }
.border { border: 2px solid #2a5f28; }
.transparent { background-color: rgb(42 95 40 / 50%); }
.gradient { background: linear-gradient(to right, #2a5f28, #285f42); }
Similar colors
#0d6323Woodland Wonder#2b5d34Pine#3e6334Greenhouse#1b6634Bucolic#1f5429Moor-Monster#115511Jungle Jam#006131Ficus Elastica#02590fDeep Green
Closest common color name: Hunter Green.
Questions
- What color is #2A5F28?
- #2A5F28 is a dark, desaturated green, closest to the named color Woodland Wonder. It belongs to the green family of colors.
- What is the RGB value of #2A5F28?
- The RGB value is 42, 95, 40: 42 red, 95 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #2A5F28?
- The complementary color is #5D285F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A5F28?
- White text. Black text has a contrast ratio of 2.77:1 and white text 7.59:1. WCAG asks for at least 4.5:1 for normal text.