#506840 color
The hex color #506840 is a dark, grayish green.
In the RGB color model it is made of 31.4% red, 40.8% green and 25.1% blue (80, 104, 64).
Its hue angle is 96°, with 24% saturation and 33% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 38% yellow and 59% black.
The closest named color is Under the Radar (#476E42), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.19:1).
#506840 color codes
| HEX | #506840 | |
|---|---|---|
| RGB | rgb(80, 104, 64) | |
| RGB percent | rgb(31.4%, 40.8%, 25.1%) | |
| HSL | hsl(96, 24%, 33%) | |
| HSV / HSB | hsv(96, 38%, 41%) | |
| CMYK | cmyk(23%, 0%, 38%, 59%) | |
| CIE LAB | lab(41.18, -17.02, 19.71) | |
| CIE LCH | lch(41.18, 26.04, 130.81) | |
| CIE XYZ | xyz(9.184, 11.976, 6.677) | |
| Decimal | 5269568 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #506840, 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 #506840 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.4:1 | Fail | Fail | Pass |
| Sample text | 6.19:1 | Pass | Fail | Pass |
| #506840 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.19:1 | Pass | Fail | Pass |
| Sample text | 3.4: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 #506840 looks to people with the most common types of color vision deficiency.
#6b623dProtanopia
no red cones#676042Deuteranopia
no green cones#50655eTritanopia
no blue cones#616161Achromatopsia
no color vision
CSS examples
.background { background-color: #506840; }
.text { color: #506840; }
.border { border: 2px solid #506840; }
.transparent { background-color: rgb(80 104 64 / 50%); }
.gradient { background: linear-gradient(to right, #506840, #406844); }
Similar colors
#476e42Under the Radar#53734cIrish Clover#3e6334Greenhouse#3c663eJurassic Park#415b36Turf#556b2fDark Olive Green#5b6f55Cactus#4d6e2fBotanical
Questions
- What color is #506840?
- #506840 is a dark, grayish green, closest to the named color Under the Radar. It belongs to the green family of colors.
- What is the RGB value of #506840?
- The RGB value is 80, 104, 64: 80 red, 104 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #506840?
- The complementary color is #584068, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #506840?
- White text. Black text has a contrast ratio of 3.4:1 and white text 6.19:1. WCAG asks for at least 4.5:1 for normal text.