#505F4F color
The hex color #505F4F is a dark, grayish green.
In the RGB color model it is made of 31.4% red, 37.3% green and 31% blue (80, 95, 79).
Its hue angle is 116°, with 9% saturation and 34% lightness. For print, the CMYK equivalent is 16% cyan, 0% magenta, 17% yellow and 63% black.
The closest named color is Verdant Hush (#4E5A4A), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.79:1).
#505F4F color codes
| HEX | #505F4F | |
|---|---|---|
| RGB | rgb(80, 95, 79) | |
| RGB percent | rgb(31.4%, 37.3%, 31%) | |
| HSL | hsl(116, 9%, 34%) | |
| HSV / HSB | hsv(116, 17%, 37%) | |
| CMYK | cmyk(16%, 0%, 17%, 63%) | |
| CIE LAB | lab(38.65, -9.25, 7.26) | |
| CIE LCH | lch(38.65, 11.76, 141.87) | |
| CIE XYZ | xyz(8.811, 10.454, 8.949) | |
| Decimal | 5267279 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505F4F, 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 #505F4F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.09:1 | Fail | Fail | Pass |
| Sample text | 6.79:1 | Pass | Fail | Pass |
| #505F4F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.79:1 | Pass | Fail | Pass |
| Sample text | 3.09: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 #505F4F looks to people with the most common types of color vision deficiency.
#605c4eProtanopia
no red cones#5d5a50Deuteranopia
no green cones#4f5e5aTritanopia
no blue cones#5b5b5bAchromatopsia
no color vision
CSS examples
.background { background-color: #505f4f; }
.text { color: #505f4f; }
.border { border: 2px solid #505f4f; }
.transparent { background-color: rgb(80 95 79 / 50%); }
.gradient { background: linear-gradient(to right, #505f4f, #4f5f56); }
Similar colors
#4e5a4aVerdant Hush#4b5d46Muddy Olive#555d50Ebony#5f6957Italian Basil#49583eHeavy Green#5e6354Black Forest#3e594cPlantation#595d45Tree of Life
Questions
- What color is #505F4F?
- #505F4F is a dark, grayish green, closest to the named color Verdant Hush. It belongs to the gray family of colors.
- What is the RGB value of #505F4F?
- The RGB value is 80, 95, 79: 80 red, 95 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #505F4F?
- The complementary color is #5E4F5F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505F4F?
- White text. Black text has a contrast ratio of 3.09:1 and white text 6.79:1. WCAG asks for at least 4.5:1 for normal text.