#506A52 color
The hex color #506A52 is a dark, grayish green.
In the RGB color model it is made of 31.4% red, 41.6% green and 32.2% blue (80, 106, 82).
Its hue angle is 125°, with 14% saturation and 36% lightness. For print, the CMYK equivalent is 25% cyan, 0% magenta, 23% yellow and 58% black.
The closest named color is Cactus (#5B6F55), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.96:1).
#506A52 color codes
| HEX | #506A52 | |
|---|---|---|
| RGB | rgb(80, 106, 82) | |
| RGB percent | rgb(31.4%, 41.6%, 32.2%) | |
| HSL | hsl(125, 14%, 36%) | |
| HSV / HSB | hsv(125, 25%, 42%) | |
| CMYK | cmyk(25%, 0%, 23%, 58%) | |
| CIE LAB | lab(42.19, -14.89, 10.42) | |
| CIE LCH | lch(42.19, 18.17, 145.02) | |
| CIE XYZ | xyz(9.985, 12.622, 9.891) | |
| Decimal | 5270098 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #506A52, 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 #506A52 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.52:1 | Fail | Fail | Pass |
| Sample text | 5.96:1 | Pass | Fail | Pass |
| #506A52 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.96:1 | Pass | Fail | Pass |
| Sample text | 3.52: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 #506A52 looks to people with the most common types of color vision deficiency.
#6b6551Protanopia
no red cones#676253Deuteranopia
no green cones#4d6963Tritanopia
no blue cones#646464Achromatopsia
no color vision
CSS examples
.background { background-color: #506a52; }
.text { color: #506a52; }
.border { border: 2px solid #506a52; }
.transparent { background-color: rgb(80 106 82 / 50%); }
.gradient { background: linear-gradient(to right, #506a52, #506a5f); }
Similar colors
#5b6f55Cactus#4b5d46Muddy Olive#416858June Ivy#3d6c54Toad King#53734cIrish Clover#3a5f49Herbes de Provence#616c51Hinterland#3e5e4eEthereal Woods
Closest common color name: Hunter Green.
Questions
- What color is #506A52?
- #506A52 is a dark, grayish green, closest to the named color Cactus. It belongs to the green family of colors.
- What is the RGB value of #506A52?
- The RGB value is 80, 106, 82: 80 red, 106 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #506A52?
- The complementary color is #6A5068, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #506A52?
- White text. Black text has a contrast ratio of 3.52:1 and white text 5.96:1. WCAG asks for at least 4.5:1 for normal text.