#98979F color
The hex color #98979F is a gray.
In the RGB color model it is made of 59.6% red, 59.2% green and 62.4% blue (152, 151, 159).
Its hue angle is 248°, with 4% saturation and 61% lightness. For print, the CMYK equivalent is 4% cyan, 5% magenta, 0% yellow and 38% black.
The closest named color is Dark Ages (#9698A3), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.26:1).
#98979F color codes
| HEX | #98979F | |
|---|---|---|
| RGB | rgb(152, 151, 159) | |
| RGB percent | rgb(59.6%, 59.2%, 62.4%) | |
| HSL | hsl(248, 4%, 61%) | |
| HSV / HSB | hsv(248, 5%, 62%) | |
| CMYK | cmyk(4%, 5%, 0%, 38%) | |
| CIE LAB | lab(62.77, 1.93, -4.06) | |
| CIE LCH | lch(62.77, 4.5, 295.47) | |
| CIE XYZ | xyz(30.272, 31.312, 37.243) | |
| Decimal | 10000287 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #98979F, 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 #98979F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.26:1 | Pass | Pass | Pass |
| Sample text | 2.89:1 | Fail | Fail | Fail |
| #98979F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.89:1 | Fail | Fail | Fail |
| Sample text | 7.26: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 #98979F looks to people with the most common types of color vision deficiency.
#95989fProtanopia
no red cones#95989fDeuteranopia
no green cones#979899Tritanopia
no blue cones#989898Achromatopsia
no color vision
CSS examples
.background { background-color: #98979f; }
.text { color: #98979f; }
.border { border: 2px solid #98979f; }
.transparent { background-color: rgb(152 151 159 / 50%); }
.gradient { background: linear-gradient(to right, #98979f, #9c979f); }
Similar colors
#9698a3Dark Ages#9b959cLunar Light#9596a4Too Big to Whale#979ba8Dusky Mood#9998a7Lavender Ash#91979fGrisaille#9999aaMachinery#8c8d91Tin Moon
Closest common color name: Dark Gray.
Questions
- What color is #98979F?
- #98979F is a gray, closest to the named color Dark Ages. It belongs to the gray family of colors.
- What is the RGB value of #98979F?
- The RGB value is 152, 151, 159: 152 red, 151 green and 159 blue on a 0 to 255 scale.
- What is the complementary color of #98979F?
- The complementary color is #9E9F97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #98979F?
- Black text. Black text has a contrast ratio of 7.26:1 and white text 2.89:1. WCAG asks for at least 4.5:1 for normal text.