#515140 color
The hex color #515140 is a dark, grayish yellow.
In the RGB color model it is made of 31.8% red, 31.8% green and 25.1% blue (81, 81, 64).
Its hue angle is 60°, with 12% saturation and 28% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 21% yellow and 68% black.
The closest named color is Kelp (#4D503C), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.07:1).
#515140 color codes
| HEX | #515140 | |
|---|---|---|
| RGB | rgb(81, 81, 64) | |
| RGB percent | rgb(31.8%, 31.8%, 25.1%) | |
| HSL | hsl(60, 12%, 28%) | |
| HSV / HSB | hsv(60, 21%, 32%) | |
| CMYK | cmyk(0%, 0%, 21%, 68%) | |
| CIE LAB | lab(33.99, -3.33, 10.04) | |
| CIE LCH | lch(33.99, 10.57, 108.34) | |
| CIE XYZ | xyz(7.261, 8.004, 6.012) | |
| Decimal | 5329216 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #515140, 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 #515140 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.6:1 | Fail | Fail | Fail |
| Sample text | 8.07:1 | Pass | Pass | Pass |
| #515140 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.07:1 | Pass | Pass | Pass |
| Sample text | 2.6: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 #515140 looks to people with the most common types of color vision deficiency.
#54503fProtanopia
no red cones#545041Deuteranopia
no green cones#544f4cTritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #515140; }
.text { color: #515140; }
.border { border: 2px solid #515140; }
.transparent { background-color: rgb(81 81 64 / 50%); }
.gradient { background: linear-gradient(to right, #515140, #495140); }
Similar colors
#4d503cKelp#4e4b35Olive Leaf#4f4d32Jungle King#46473eHeavy Metal#595d45Tree of Life#57534bMasala#4b5338Broccoli Green#555d50Ebony
Questions
- What color is #515140?
- #515140 is a dark, grayish yellow, closest to the named color Kelp. It belongs to the gray family of colors.
- What is the RGB value of #515140?
- The RGB value is 81, 81, 64: 81 red, 81 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #515140?
- The complementary color is #404051, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #515140?
- White text. Black text has a contrast ratio of 2.6:1 and white text 8.07:1. WCAG asks for at least 4.5:1 for normal text.