#8D9798 color
The hex color #8D9798 is a gray.
In the RGB color model it is made of 55.3% red, 59.2% green and 59.6% blue (141, 151, 152).
Its hue angle is 185°, with 5% saturation and 57% lightness. For print, the CMYK equivalent is 7% cyan, 1% magenta, 0% yellow and 40% black.
The closest named color is Pewter (#899499), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.01:1).
#8D9798 color codes
| HEX | #8D9798 | |
|---|---|---|
| RGB | rgb(141, 151, 152) | |
| RGB percent | rgb(55.3%, 59.2%, 59.6%) | |
| HSL | hsl(185, 5%, 57%) | |
| HSV / HSB | hsv(185, 7%, 60%) | |
| CMYK | cmyk(7%, 1%, 0%, 40%) | |
| CIE LAB | lab(61.71, -3.38, -1.76) | |
| CIE LCH | lch(61.71, 3.81, 207.54) | |
| CIE XYZ | xyz(27.717, 30.063, 34.042) | |
| Decimal | 9279384 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8D9798, 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 #8D9798 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.01:1 | Pass | Pass | Pass |
| Sample text | 2.99:1 | Fail | Fail | Fail |
| #8D9798 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.99:1 | Fail | Fail | Fail |
| Sample text | 7.01:1 | Pass | Pass | 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 #8D9798 looks to people with the most common types of color vision deficiency.
#959698Protanopia
no red cones#939498Deuteranopia
no green cones#8a9897Tritanopia
no blue cones#959595Achromatopsia
no color vision
CSS examples
.background { background-color: #8d9798; }
.text { color: #8d9798; }
.border { border: 2px solid #8d9798; }
.transparent { background-color: rgb(141 151 152 / 50%); }
.gradient { background: linear-gradient(to right, #8d9798, #8d9298); }
Similar colors
#899499Pewter#90979bSteely Gray#8f9394Gray Area#979ea1Happy Cement#999b9bWalrus#9ea4a5Statuary#91979fGrisaille#929292Nickel
Questions
- What color is #8D9798?
- #8D9798 is a gray, closest to the named color Pewter. It belongs to the gray family of colors.
- What is the RGB value of #8D9798?
- The RGB value is 141, 151, 152: 141 red, 151 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #8D9798?
- The complementary color is #988E8D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8D9798?
- Black text. Black text has a contrast ratio of 7.01:1 and white text 2.99:1. WCAG asks for at least 4.5:1 for normal text.