#9C9798 color
The hex color #9C9798 is a gray.
In the RGB color model it is made of 61.2% red, 59.2% green and 59.6% blue (156, 151, 152).
Its hue angle is 348°, with 2% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 3% yellow and 39% black.
The closest named color is Flint Rock (#989493), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.29:1).
#9C9798 color codes
| HEX | #9C9798 | |
|---|---|---|
| RGB | rgb(156, 151, 152) | |
| RGB percent | rgb(61.2%, 59.2%, 59.6%) | |
| HSL | hsl(348, 2%, 60%) | |
| HSV / HSB | hsv(348, 3%, 61%) | |
| CMYK | cmyk(0%, 3%, 3%, 39%) | |
| CIE LAB | lab(62.9, 2.01, 0.12) | |
| CIE LCH | lch(62.9, 2.02, 3.53) | |
| CIE XYZ | xyz(30.444, 31.468, 34.17) | |
| Decimal | 10262424 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9C9798, 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 #9C9798 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.29:1 | Pass | Pass | Pass |
| Sample text | 2.88:1 | Fail | Fail | Fail |
| #9C9798 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.88:1 | Fail | Fail | Fail |
| Sample text | 7.29: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 #9C9798 looks to people with the most common types of color vision deficiency.
#989898Protanopia
no red cones#999898Deuteranopia
no green cones#9d9797Tritanopia
no blue cones#989898Achromatopsia
no color vision
CSS examples
.background { background-color: #9c9798; }
.text { color: #9c9798; }
.border { border: 2px solid #9c9798; }
.transparent { background-color: rgb(156 151 152 / 50%); }
.gradient { background: linear-gradient(to right, #9c9798, #9c9997); }
Similar colors
#989493Flint Rock#999999Million Gray#a3999cWalkway#948e90Hong Kong Mist#9b959cLunar Light#929292Nickel#919191Tin#918c8fGull
Closest common color name: Dark Gray.
Questions
- What color is #9C9798?
- #9C9798 is a gray, closest to the named color Flint Rock. It belongs to the gray family of colors.
- What is the RGB value of #9C9798?
- The RGB value is 156, 151, 152: 156 red, 151 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #9C9798?
- The complementary color is #979C9B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9C9798?
- Black text. Black text has a contrast ratio of 7.29:1 and white text 2.88:1. WCAG asks for at least 4.5:1 for normal text.