#5A6939 color
The hex color #5A6939 is a dark, desaturated yellow-green.
In the RGB color model it is made of 35.3% red, 41.2% green and 22.4% blue (90, 105, 57).
Its hue angle is 79°, with 30% saturation and 32% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 46% yellow and 59% black.
The closest named color is Dark Olive Green (#556B2F), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.98:1).
#5A6939 color codes
| HEX | #5A6939 | |
|---|---|---|
| RGB | rgb(90, 105, 57) | |
| RGB percent | rgb(35.3%, 41.2%, 22.4%) | |
| HSL | hsl(79, 30%, 32%) | |
| HSV / HSB | hsv(79, 46%, 41%) | |
| CMYK | cmyk(14%, 0%, 46%, 59%) | |
| CIE LAB | lab(42.11, -14.39, 25.07) | |
| CIE LCH | lch(42.11, 28.91, 119.85) | |
| CIE XYZ | xyz(10.007, 12.572, 5.77) | |
| Decimal | 5925177 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A6939, 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 #5A6939 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.51:1 | Fail | Fail | Pass |
| Sample text | 5.98:1 | Pass | Fail | Pass |
| #5A6939 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.98:1 | Pass | Fail | Pass |
| Sample text | 3.51: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 #5A6939 looks to people with the most common types of color vision deficiency.
#6e6435Protanopia
no red cones#6c633cDeuteranopia
no green cones#5d655dTritanopia
no blue cones#636363Achromatopsia
no color vision
CSS examples
.background { background-color: #5a6939; }
.text { color: #5a6939; }
.border { border: 2px solid #5a6939; }
.transparent { background-color: rgb(90 105 57 / 50%); }
.gradient { background: linear-gradient(to right, #5a6939, #426939); }
Similar colors
#556b2fDark Olive Green#54682bBimi Green#4d6e2fBotanical#666a47Bancha#667744Ghoul#657432Muddy Green#69673aJungle Civilization#5f674bMonstera
Questions
- What color is #5A6939?
- #5A6939 is a dark, desaturated yellow-green, closest to the named color Dark Olive Green. It belongs to the green family of colors.
- What is the RGB value of #5A6939?
- The RGB value is 90, 105, 57: 90 red, 105 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #5A6939?
- The complementary color is #483969, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A6939?
- White text. Black text has a contrast ratio of 3.51:1 and white text 5.98:1. WCAG asks for at least 4.5:1 for normal text.