#838D87 color
The hex color #838D87 is a gray.
In the RGB color model it is made of 51.4% red, 55.3% green and 52.9% blue (131, 141, 135).
Its hue angle is 144°, with 4% saturation and 53% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 4% yellow and 45% black.
The closest named color is Mummy’s Tomb (#828E84), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.12:1).
#838D87 color codes
| HEX | #838D87 | |
|---|---|---|
| RGB | rgb(131, 141, 135) | |
| RGB percent | rgb(51.4%, 55.3%, 52.9%) | |
| HSL | hsl(144, 4%, 53%) | |
| HSV / HSB | hsv(144, 7%, 55%) | |
| CMYK | cmyk(7%, 0%, 4%, 45%) | |
| CIE LAB | lab(57.68, -4.84, 1.95) | |
| CIE LCH | lch(57.68, 5.22, 158.12) | |
| CIE XYZ | xyz(23.257, 25.624, 26.638) | |
| Decimal | 8621447 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838D87, 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 #838D87 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.12:1 | Pass | Fail | Pass |
| Sample text | 3.43:1 | Fail | Fail | Pass |
| #838D87 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.43:1 | Fail | Fail | Pass |
| Sample text | 6.12:1 | Pass | 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 #838D87 looks to people with the most common types of color vision deficiency.
#8d8b87Protanopia
no red cones#8b8a87Deuteranopia
no green cones#818d8bTritanopia
no blue cones#8b8b8bAchromatopsia
no color vision
CSS examples
.background { background-color: #838d87; }
.text { color: #838d87; }
.border { border: 2px solid #838d87; }
.transparent { background-color: rgb(131 141 135 / 50%); }
.gradient { background: linear-gradient(to right, #838d87, #838d8c); }
Similar colors
#828e84Mummy’s Tomb#818581Happy Hippo#74857fArmour#7d8878Majestic Evergreen#7c8181Whale#878785Jumbo#8f9394Gray Area#738276Smoke
Questions
- What color is #838D87?
- #838D87 is a gray, closest to the named color Mummy’s Tomb. It belongs to the gray family of colors.
- What is the RGB value of #838D87?
- The RGB value is 131, 141, 135: 131 red, 141 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #838D87?
- The complementary color is #8D8389, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838D87?
- Black text. Black text has a contrast ratio of 6.12:1 and white text 3.43:1. WCAG asks for at least 4.5:1 for normal text.