#506140 color
The hex color #506140 is a dark, grayish green.
In the RGB color model it is made of 31.4% red, 38% green and 25.1% blue (80, 97, 64).
Its hue angle is 91°, with 20% saturation and 32% lightness. For print, the CMYK equivalent is 18% cyan, 0% magenta, 34% yellow and 62% black.
The closest named color is Muddy Olive (#4B5D46), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.72:1).
#506140 color codes
| HEX | #506140 | |
|---|---|---|
| RGB | rgb(80, 97, 64) | |
| RGB percent | rgb(31.4%, 38%, 25.1%) | |
| HSL | hsl(91, 20%, 32%) | |
| HSV / HSB | hsv(91, 34%, 38%) | |
| CMYK | cmyk(18%, 0%, 34%, 62%) | |
| CIE LAB | lab(38.94, -13.15, 16.75) | |
| CIE LCH | lch(38.94, 21.3, 128.13) | |
| CIE XYZ | xyz(8.508, 10.625, 6.452) | |
| Decimal | 5267776 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #506140, 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 #506140 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.13:1 | Fail | Fail | Pass |
| Sample text | 6.72:1 | Pass | Fail | Pass |
| #506140 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.72:1 | Pass | Fail | Pass |
| Sample text | 3.13: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 #506140 looks to people with the most common types of color vision deficiency.
#645d3eProtanopia
no red cones#615b42Deuteranopia
no green cones#515e58Tritanopia
no blue cones#5c5c5cAchromatopsia
no color vision
CSS examples
.background { background-color: #506140; }
.text { color: #506140; }
.border { border: 2px solid #506140; }
.transparent { background-color: rgb(80 97 64 / 50%); }
.gradient { background: linear-gradient(to right, #506140, #406140); }
Similar colors
#4b5d46Muddy Olive#49583eHeavy Green#415b36Turf#445533Zen Garden Olive#5f674bMonstera#585d40Cypress#3b593aFicus#616c51Hinterland
Closest common color name: Hunter Green.
Questions
- What color is #506140?
- #506140 is a dark, grayish green, closest to the named color Muddy Olive. It belongs to the green family of colors.
- What is the RGB value of #506140?
- The RGB value is 80, 97, 64: 80 red, 97 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #506140?
- The complementary color is #514061, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #506140?
- White text. Black text has a contrast ratio of 3.13:1 and white text 6.72:1. WCAG asks for at least 4.5:1 for normal text.