#979798 color

#979798 rgb(151, 151, 152)
Shades of gray

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
RGBrgb(151, 151, 152)
RGB percentrgb(59.2%, 59.2%, 59.6%)
HSLhsl(240, 0%, 59%)
HSV / HSBhsv(240, 1%, 60%)
CMYKcmyk(1%, 1%, 0%, 40%)
CIE LABlab(62.49, 0.19, -0.52)
CIE LCHlch(62.49, 0.56, 290.24)
CIE XYZxyz(29.496, 30.98, 34.125)
Decimal9934744
Short hexNone (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 #979798RatioAAAAAAA large
Sample text7.2:1PassPassPass
Sample text2.92:1FailFailFail
#979798 as text onRatioAAAAAAA large
Sample text2.92:1FailFailFail
Sample text7.2:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.