#9799A5 color
The hex color #9799A5 is a gray.
In the RGB color model it is made of 59.2% red, 60% green and 64.7% blue (151, 153, 165).
Its hue angle is 231°, with 7% saturation and 62% lightness. For print, the CMYK equivalent is 8% cyan, 7% magenta, 0% yellow and 35% black.
The closest named color is Dark Ages (#9698A3), a difference of 0.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.42:1).
#9799A5 color codes
| HEX | #9799A5 | |
|---|---|---|
| RGB | rgb(151, 153, 165) | |
| RGB percent | rgb(59.2%, 60%, 64.7%) | |
| HSL | hsl(231, 7%, 62%) | |
| HSV / HSB | hsv(231, 8%, 65%) | |
| CMYK | cmyk(8%, 7%, 0%, 35%) | |
| CIE LAB | lab(63.41, 1.69, -6.51) | |
| CIE LCH | lch(63.41, 6.73, 284.57) | |
| CIE XYZ | xyz(30.944, 32.078, 40.151) | |
| Decimal | 9935269 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9799A5, 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 #9799A5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.42:1 | Pass | Pass | Pass |
| Sample text | 2.83:1 | Fail | Fail | Fail |
| #9799A5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.83:1 | Fail | Fail | Fail |
| Sample text | 7.42: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 #9799A5 looks to people with the most common types of color vision deficiency.
#969aa6Protanopia
no red cones#9599a5Deuteranopia
no green cones#949b9dTritanopia
no blue cones#999999Achromatopsia
no color vision
CSS examples
.background { background-color: #9799a5; }
.text { color: #9799a5; }
.border { border: 2px solid #9799a5; }
.transparent { background-color: rgb(151 153 165 / 50%); }
.gradient { background: linear-gradient(to right, #9799a5, #9c97a5); }
Similar colors
#9698a3Dark Ages#979ba8Dusky Mood#9596a4Too Big to Whale#9998a7Lavender Ash#9999aaMachinery#91979fGrisaille#8d95aaSilverfish#9b959cLunar Light
Closest common color name: Cool Gray.
Questions
- What color is #9799A5?
- #9799A5 is a gray, closest to the named color Dark Ages. It belongs to the gray family of colors.
- What is the RGB value of #9799A5?
- The RGB value is 151, 153, 165: 151 red, 153 green and 165 blue on a 0 to 255 scale.
- What is the complementary color of #9799A5?
- The complementary color is #A5A397, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9799A5?
- Black text. Black text has a contrast ratio of 7.42:1 and white text 2.83:1. WCAG asks for at least 4.5:1 for normal text.