#505542 color
The hex color #505542 is a dark, grayish yellow-green.
In the RGB color model it is made of 31.4% red, 33.3% green and 25.9% blue (80, 85, 66).
Its hue angle is 76°, with 13% saturation and 30% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 22% yellow and 67% black.
The closest named color is Kelp (#4D503C), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.72:1).
#505542 color codes
| HEX | #505542 | |
|---|---|---|
| RGB | rgb(80, 85, 66) | |
| RGB percent | rgb(31.4%, 33.3%, 25.9%) | |
| HSL | hsl(76, 13%, 30%) | |
| HSV / HSB | hsv(76, 22%, 33%) | |
| CMYK | cmyk(6%, 0%, 22%, 67%) | |
| CIE LAB | lab(35.19, -5.82, 10.44) | |
| CIE LCH | lch(35.19, 11.96, 119.15) | |
| CIE XYZ | xyz(7.54, 8.596, 6.415) | |
| Decimal | 5264706 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505542, 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 #505542 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.72:1 | Fail | Fail | Fail |
| Sample text | 7.72:1 | Pass | Pass | Pass |
| #505542 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.72:1 | Pass | Pass | Pass |
| Sample text | 2.72:1 | Fail | Fail | Fail |
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 #505542 looks to people with the most common types of color vision deficiency.
#585341Protanopia
no red cones#575343Deuteranopia
no green cones#525350Tritanopia
no blue cones#535353Achromatopsia
no color vision
CSS examples
.background { background-color: #505542; }
.text { color: #505542; }
.border { border: 2px solid #505542; }
.transparent { background-color: rgb(80 85 66 / 50%); }
.gradient { background: linear-gradient(to right, #505542, #475542); }
Similar colors
#4d503cKelp#595d45Tree of Life#4b5338Broccoli Green#4e5a4aVerdant Hush#555d50Ebony#585d40Cypress#424f3bHōjicha#49583eHeavy Green
Questions
- What color is #505542?
- #505542 is a dark, grayish yellow-green, closest to the named color Kelp. It belongs to the gray family of colors.
- What is the RGB value of #505542?
- The RGB value is 80, 85, 66: 80 red, 85 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #505542?
- The complementary color is #474255, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505542?
- White text. Black text has a contrast ratio of 2.72:1 and white text 7.72:1. WCAG asks for at least 4.5:1 for normal text.