#5F7228 color
The hex color #5F7228 is a dark, desaturated yellow-green.
In the RGB color model it is made of 37.3% red, 44.7% green and 15.7% blue (95, 114, 40).
Its hue angle is 75°, with 48% saturation and 30% lightness. For print, the CMYK equivalent is 17% cyan, 0% magenta, 65% yellow and 55% black.
The closest named color is Muddy Green (#657432), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.35:1).
#5F7228 color codes
| HEX | #5F7228 | |
|---|---|---|
| RGB | rgb(95, 114, 40) | |
| RGB percent | rgb(37.3%, 44.7%, 15.7%) | |
| HSL | hsl(75, 48%, 30%) | |
| HSV / HSB | hsv(75, 65%, 45%) | |
| CMYK | cmyk(17%, 0%, 65%, 55%) | |
| CIE LAB | lab(45.11, -18.86, 37.55) | |
| CIE LCH | lch(45.11, 42.03, 116.67) | |
| CIE XYZ | xyz(11.12, 14.621, 4.243) | |
| Decimal | 6255144 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F7228, 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 #5F7228 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.92:1 | Fail | Fail | Pass |
| Sample text | 5.35:1 | Pass | Fail | Pass |
| #5F7228 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.35:1 | Pass | Fail | Pass |
| Sample text | 3.92: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 #5F7228 looks to people with the most common types of color vision deficiency.
#796b1fProtanopia
no red cones#766b2dDeuteranopia
no green cones#646c62Tritanopia
no blue cones#6b6b6bAchromatopsia
no color vision
CSS examples
.background { background-color: #5f7228; }
.text { color: #5f7228; }
.border { border: 2px solid #5f7228; }
.transparent { background-color: rgb(95 114 40 / 50%); }
.gradient { background: linear-gradient(to right, #5f7228, #3a7228); }
Similar colors
#657432Muddy Green#556b2fDark Olive Green#54682bBimi Green#4d6d08Over the Hills#556611Forestial Outpost#727736Jungle Look#4d6e2fBotanical#667744Ghoul
Questions
- What color is #5F7228?
- #5F7228 is a dark, desaturated yellow-green, closest to the named color Muddy Green. It belongs to the green family of colors.
- What is the RGB value of #5F7228?
- The RGB value is 95, 114, 40: 95 red, 114 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #5F7228?
- The complementary color is #3B2872, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F7228?
- White text. Black text has a contrast ratio of 3.92:1 and white text 5.35:1. WCAG asks for at least 4.5:1 for normal text.