#979796 color
The hex color #979796 is a gray.
In the RGB color model it is made of 59.2% red, 59.2% green and 58.8% blue (151, 151, 150).
Its hue angle is 60°, with 0% saturation and 59% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 1% yellow and 41% 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.18:1).
#979796 color codes
| HEX | #979796 | |
|---|---|---|
| RGB | rgb(151, 151, 150) | |
| RGB percent | rgb(59.2%, 59.2%, 58.8%) | |
| HSL | hsl(60, 0%, 59%) | |
| HSV / HSB | hsv(60, 1%, 59%) | |
| CMYK | cmyk(0%, 0%, 1%, 41%) | |
| CIE LAB | lab(62.44, -0.19, 0.53) | |
| CIE LCH | lch(62.44, 0.56, 110.11) | |
| CIE XYZ | xyz(29.333, 30.915, 33.27) | |
| Decimal | 9934742 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #979796, 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 #979796 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.18:1 | Pass | Pass | Pass |
| Sample text | 2.92:1 | Fail | Fail | Fail |
| #979796 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.92:1 | Fail | Fail | Fail |
| Sample text | 7.18: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 #979796 looks to people with the most common types of color vision deficiency.
#979796Protanopia
no red cones#979796Deuteranopia
no green cones#979797Tritanopia
no blue cones#979797Achromatopsia
no color vision
CSS examples
.background { background-color: #979796; }
.text { color: #979796; }
.border { border: 2px solid #979796; }
.transparent { background-color: rgb(151 151 150 / 50%); }
.gradient { background: linear-gradient(to right, #979796, #979796); }
Similar colors
#999999Million Gray#999b9bWalrus#929292Nickel#919191Tin#989493Flint Rock#8f9394Gray Area#8f8e8cPedigrey#a0a09cGateway Gray
Closest common color name: Stone.
Questions
- What color is #979796?
- #979796 is a gray, closest to the named color Million Gray. It belongs to the gray family of colors.
- What is the RGB value of #979796?
- The RGB value is 151, 151, 150: 151 red, 151 green and 150 blue on a 0 to 255 scale.
- What is the complementary color of #979796?
- The complementary color is #969697, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #979796?
- Black text. Black text has a contrast ratio of 7.18:1 and white text 2.92:1. WCAG asks for at least 4.5:1 for normal text.