#9F9A9A color
The hex color #9F9A9A is a gray.
In the RGB color model it is made of 62.4% red, 60.4% green and 60.4% blue (159, 154, 154).
Its hue angle is 0°, with 3% saturation and 61% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 3% yellow and 38% black.
The closest named color is Flint Rock (#989493), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.56:1).
#9F9A9A color codes
| HEX | #9F9A9A | |
|---|---|---|
| RGB | rgb(159, 154, 154) | |
| RGB percent | rgb(62.4%, 60.4%, 60.4%) | |
| HSL | hsl(0, 3%, 61%) | |
| HSV / HSB | hsv(0, 3%, 62%) | |
| CMYK | cmyk(0%, 3%, 3%, 38%) | |
| CIE LAB | lab(64.01, 1.82, 0.65) | |
| CIE LCH | lch(64.01, 1.93, 19.59) | |
| CIE XYZ | xyz(31.686, 32.815, 35.23) | |
| Decimal | 10459802 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9F9A9A, 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 #9F9A9A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.56:1 | Pass | Pass | Pass |
| Sample text | 2.78:1 | Fail | Fail | Fail |
| #9F9A9A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.78:1 | Fail | Fail | Fail |
| Sample text | 7.56: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 #9F9A9A looks to people with the most common types of color vision deficiency.
#9b9b9aProtanopia
no red cones#9c9b9aDeuteranopia
no green cones#a09a9aTritanopia
no blue cones#9b9b9bAchromatopsia
no color vision
CSS examples
.background { background-color: #9f9a9a; }
.text { color: #9f9a9a; }
.border { border: 2px solid #9f9a9a; }
.transparent { background-color: rgb(159 154 154 / 50%); }
.gradient { background: linear-gradient(to right, #9f9a9a, #9f9d9a); }
Similar colors
#989493Flint Rock#999999Million Gray#a3999cWalkway#a3a2a1Shadow of the Colossus#999b9bWalrus#929292Nickel#948e90Hong Kong Mist#9b959cLunar Light
Closest common color name: Dark Gray.
Questions
- What color is #9F9A9A?
- #9F9A9A is a gray, closest to the named color Flint Rock. It belongs to the gray family of colors.
- What is the RGB value of #9F9A9A?
- The RGB value is 159, 154, 154: 159 red, 154 green and 154 blue on a 0 to 255 scale.
- What is the complementary color of #9F9A9A?
- The complementary color is #9A9F9F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9F9A9A?
- Black text. Black text has a contrast ratio of 7.56:1 and white text 2.78:1. WCAG asks for at least 4.5:1 for normal text.