#979798 color
The hex color #979798 is a gray.
In the RGB color model it is made of 59.2% red, 59.2% green and 59.6% blue (151, 151, 152).
Its hue angle is 240°, with 0% saturation and 59% lightness. For print, the CMYK equivalent is 1% cyan, 1% magenta, 0% yellow and 40% black.
The closest named color is Million Gray (#999999), a difference of 0.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.2:1).
#979798 color codes
| HEX | #979798 | |
|---|---|---|
| RGB | rgb(151, 151, 152) | |
| RGB percent | rgb(59.2%, 59.2%, 59.6%) | |
| HSL | hsl(240, 0%, 59%) | |
| HSV / HSB | hsv(240, 1%, 60%) | |
| CMYK | cmyk(1%, 1%, 0%, 40%) | |
| CIE LAB | lab(62.49, 0.19, -0.52) | |
| CIE LCH | lch(62.49, 0.56, 290.24) | |
| CIE XYZ | xyz(29.496, 30.98, 34.125) | |
| Decimal | 9934744 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #979798, 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 #979798 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.2:1 | Pass | Pass | Pass |
| Sample text | 2.92:1 | Fail | Fail | Fail |
| #979798 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.92:1 | Fail | Fail | Fail |
| Sample text | 7.2: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 #979798 looks to people with the most common types of color vision deficiency.
#979798Protanopia
no red cones#979798Deuteranopia
no green cones#979797Tritanopia
no blue cones#979797Achromatopsia
no color vision
CSS examples
.background { background-color: #979798; }
.text { color: #979798; }
.border { border: 2px solid #979798; }
.transparent { background-color: rgb(151 151 152 / 50%); }
.gradient { background: linear-gradient(to right, #979798, #989798); }
Similar colors
#999999Million Gray#929292Nickel#999b9bWalrus#919191Tin#989493Flint Rock#8f9394Gray Area#8f8e8cPedigrey#90979bSteely Gray
Closest common color name: Pewter.
Questions
- What color is #979798?
- #979798 is a gray, closest to the named color Million Gray. It belongs to the gray family of colors.
- What is the RGB value of #979798?
- The RGB value is 151, 151, 152: 151 red, 151 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #979798?
- The complementary color is #989897, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #979798?
- Black text. Black text has a contrast ratio of 7.2:1 and white text 2.92:1. WCAG asks for at least 4.5:1 for normal text.