#838E7F color
The hex color #838E7F is a gray.
In the RGB color model it is made of 51.4% red, 55.7% green and 49.8% blue (131, 142, 127).
Its hue angle is 104°, with 6% saturation and 53% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 11% yellow and 44% 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.14:1).
#838E7F color codes
| HEX | #838E7F | |
|---|---|---|
| RGB | rgb(131, 142, 127) | |
| RGB percent | rgb(51.4%, 55.7%, 49.8%) | |
| HSL | hsl(104, 6%, 53%) | |
| HSV / HSB | hsv(104, 11%, 56%) | |
| CMYK | cmyk(8%, 0%, 11%, 44%) | |
| CIE LAB | lab(57.75, -6.95, 6.63) | |
| CIE LCH | lch(57.75, 9.61, 136.33) | |
| CIE XYZ | xyz(22.863, 25.703, 23.831) | |
| Decimal | 8621695 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838E7F, 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 #838E7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.14:1 | Pass | Fail | Pass |
| Sample text | 3.42:1 | Fail | Fail | Pass |
| #838E7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.42:1 | Fail | Fail | Pass |
| Sample text | 6.14: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 #838E7F looks to people with the most common types of color vision deficiency.
#8f8b7eProtanopia
no red cones#8d8a80Deuteranopia
no green cones#838d8aTritanopia
no blue cones#8b8b8bAchromatopsia
no color vision
CSS examples
.background { background-color: #838e7f; }
.text { color: #838e7f; }
.border { border: 2px solid #838e7f; }
.transparent { background-color: rgb(131 142 127 / 50%); }
.gradient { background: linear-gradient(to right, #838e7f, #7f8e83); }
Similar colors
#828e84Mummy’s Tomb#7d8878Majestic Evergreen#8a9480Aloe Tip#8f917cFarmer’s Market#738276Smoke#888877Kosher Khaki#93977fSwamp Sessions#747f71Camo Clay
Questions
- What color is #838E7F?
- #838E7F 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 #838E7F?
- The RGB value is 131, 142, 127: 131 red, 142 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #838E7F?
- The complementary color is #8A7F8E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838E7F?
- Black text. Black text has a contrast ratio of 6.14:1 and white text 3.42:1. WCAG asks for at least 4.5:1 for normal text.