#515E42 color
The hex color #515E42 is a dark, grayish yellow-green.
In the RGB color model it is made of 31.8% red, 36.9% green and 25.9% blue (81, 94, 66).
Its hue angle is 88°, with 18% saturation and 31% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 30% yellow and 63% black.
The closest named color is Heavy Green (#49583E), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.93:1).
#515E42 color codes
| HEX | #515E42 | |
|---|---|---|
| RGB | rgb(81, 94, 66) | |
| RGB percent | rgb(31.8%, 36.9%, 25.9%) | |
| HSL | hsl(88, 18%, 31%) | |
| HSV / HSB | hsv(88, 30%, 37%) | |
| CMYK | cmyk(14%, 0%, 30%, 63%) | |
| CIE LAB | lab(38.11, -10.69, 14.44) | |
| CIE LCH | lch(38.11, 17.97, 126.5) | |
| CIE XYZ | xyz(8.379, 10.148, 6.671) | |
| Decimal | 5332546 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #515E42, 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 #515E42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.03:1 | Fail | Fail | Pass |
| Sample text | 6.93:1 | Pass | Fail | Pass |
| #515E42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.93:1 | Pass | Fail | Pass |
| Sample text | 3.03: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 #515E42 looks to people with the most common types of color vision deficiency.
#615a40Protanopia
no red cones#5f5943Deuteranopia
no green cones#525b57Tritanopia
no blue cones#5a5a5aAchromatopsia
no color vision
CSS examples
.background { background-color: #515e42; }
.text { color: #515e42; }
.border { border: 2px solid #515e42; }
.transparent { background-color: rgb(81 94 66 / 50%); }
.gradient { background: linear-gradient(to right, #515e42, #435e42); }
Similar colors
#49583eHeavy Green#4b5d46Muddy Olive#585d40Cypress#4b5338Broccoli Green#595d45Tree of Life#5f674bMonstera#445533Zen Garden Olive#4e5a4aVerdant Hush
Closest common color name: Ebony.
Questions
- What color is #515E42?
- #515E42 is a dark, grayish yellow-green, closest to the named color Heavy Green. It belongs to the green family of colors.
- What is the RGB value of #515E42?
- The RGB value is 81, 94, 66: 81 red, 94 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #515E42?
- The complementary color is #4F425E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #515E42?
- White text. Black text has a contrast ratio of 3.03:1 and white text 6.93:1. WCAG asks for at least 4.5:1 for normal text.