#515A42 color
The hex color #515A42 is a dark, grayish yellow-green.
In the RGB color model it is made of 31.8% red, 35.3% green and 25.9% blue (81, 90, 66).
Its hue angle is 83°, with 15% saturation and 31% lightness. For print, the CMYK equivalent is 10% cyan, 0% magenta, 27% yellow and 65% black.
The closest named color is Tree of Life (#595D45), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.26:1).
#515A42 color codes
| HEX | #515A42 | |
|---|---|---|
| RGB | rgb(81, 90, 66) | |
| RGB percent | rgb(31.8%, 35.3%, 25.9%) | |
| HSL | hsl(83, 15%, 31%) | |
| HSV / HSB | hsv(83, 27%, 35%) | |
| CMYK | cmyk(10%, 0%, 27%, 65%) | |
| CIE LAB | lab(36.85, -8.36, 12.73) | |
| CIE LCH | lch(36.85, 15.23, 123.31) | |
| CIE XYZ | xyz(8.033, 9.455, 6.555) | |
| Decimal | 5331522 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #515A42, 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 #515A42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.89:1 | Fail | Fail | Fail |
| Sample text | 7.26:1 | Pass | Pass | Pass |
| #515A42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.26:1 | Pass | Pass | Pass |
| Sample text | 2.89: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 #515A42 looks to people with the most common types of color vision deficiency.
#5d5741Protanopia
no red cones#5b5743Deuteranopia
no green cones#535854Tritanopia
no blue cones#575757Achromatopsia
no color vision
CSS examples
.background { background-color: #515a42; }
.text { color: #515a42; }
.border { border: 2px solid #515a42; }
.transparent { background-color: rgb(81 90 66 / 50%); }
.gradient { background: linear-gradient(to right, #515a42, #455a42); }
Similar colors
#595d45Tree of Life#4b5338Broccoli Green#49583eHeavy Green#585d40Cypress#4e5a4aVerdant Hush#4b5d46Muddy Olive#4d503cKelp#424f3bHōjicha
Closest common color name: Ebony.
Questions
- What color is #515A42?
- #515A42 is a dark, grayish yellow-green, closest to the named color Tree of Life. It belongs to the green family of colors.
- What is the RGB value of #515A42?
- The RGB value is 81, 90, 66: 81 red, 90 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #515A42?
- The complementary color is #4B425A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #515A42?
- White text. Black text has a contrast ratio of 2.89:1 and white text 7.26:1. WCAG asks for at least 4.5:1 for normal text.