#9798A0 color
The hex color #9798A0 is a gray.
In the RGB color model it is made of 59.2% red, 59.6% green and 62.7% blue (151, 152, 160).
Its hue angle is 233°, with 5% saturation and 61% lightness. For print, the CMYK equivalent is 6% cyan, 5% magenta, 0% yellow and 37% black.
The closest named color is Dark Ages (#9698A3), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.31:1).
#9798A0 color codes
| HEX | #9798A0 | |
|---|---|---|
| RGB | rgb(151, 152, 160) | |
| RGB percent | rgb(59.2%, 59.6%, 62.7%) | |
| HSL | hsl(233, 5%, 61%) | |
| HSV / HSB | hsv(233, 6%, 63%) | |
| CMYK | cmyk(6%, 5%, 0%, 37%) | |
| CIE LAB | lab(62.99, 1.22, -4.31) | |
| CIE LCH | lch(62.99, 4.48, 285.85) | |
| CIE XYZ | xyz(30.335, 31.574, 37.747) | |
| Decimal | 9935008 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9798A0, 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 #9798A0 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.31:1 | Pass | Pass | Pass |
| Sample text | 2.87:1 | Fail | Fail | Fail |
| #9798A0 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.87:1 | Fail | Fail | Fail |
| Sample text | 7.31: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 #9798A0 looks to people with the most common types of color vision deficiency.
#9699a0Protanopia
no red cones#9698a0Deuteranopia
no green cones#95999aTritanopia
no blue cones#989898Achromatopsia
no color vision
CSS examples
.background { background-color: #9798a0; }
.text { color: #9798a0; }
.border { border: 2px solid #9798a0; }
.transparent { background-color: rgb(151 152 160 / 50%); }
.gradient { background: linear-gradient(to right, #9798a0, #9b97a0); }
Similar colors
#9698a3Dark Ages#979ba8Dusky Mood#91979fGrisaille#9596a4Too Big to Whale#9b959cLunar Light#9998a7Lavender Ash#999999Million Gray#9999aaMachinery
Closest common color name: Pewter.
Questions
- What color is #9798A0?
- #9798A0 is a gray, closest to the named color Dark Ages. It belongs to the gray family of colors.
- What is the RGB value of #9798A0?
- The RGB value is 151, 152, 160: 151 red, 152 green and 160 blue on a 0 to 255 scale.
- What is the complementary color of #9798A0?
- The complementary color is #A09F97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9798A0?
- Black text. Black text has a contrast ratio of 7.31:1 and white text 2.87:1. WCAG asks for at least 4.5:1 for normal text.