#97A2A5 color
The hex color #97A2A5 is a gray.
In the RGB color model it is made of 59.2% red, 63.5% green and 64.7% blue (151, 162, 165).
Its hue angle is 193°, with 7% saturation and 62% lightness. For print, the CMYK equivalent is 8% cyan, 2% magenta, 0% yellow and 35% black.
The closest named color is Happy Cement (#979EA1), a difference of 2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.03:1).
#97A2A5 color codes
| HEX | #97A2A5 | |
|---|---|---|
| RGB | rgb(151, 162, 165) | |
| RGB percent | rgb(59.2%, 63.5%, 64.7%) | |
| HSL | hsl(193, 7%, 62%) | |
| HSV / HSB | hsv(193, 8%, 65%) | |
| CMYK | cmyk(8%, 2%, 0%, 35%) | |
| CIE LAB | lab(65.85, -3.28, -2.9) | |
| CIE LCH | lch(65.85, 4.38, 221.44) | |
| CIE XYZ | xyz(32.473, 35.136, 40.661) | |
| Decimal | 9937573 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #97A2A5, 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 #97A2A5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.03:1 | Pass | Pass | Pass |
| Sample text | 2.62:1 | Fail | Fail | Fail |
| #97A2A5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.62:1 | Fail | Fail | Fail |
| Sample text | 8.03: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 #97A2A5 looks to people with the most common types of color vision deficiency.
#a0a1a5Protanopia
no red cones#9d9fa5Deuteranopia
no green cones#93a3a3Tritanopia
no blue cones#a0a0a0Achromatopsia
no color vision
CSS examples
.background { background-color: #97a2a5; }
.text { color: #97a2a5; }
.border { border: 2px solid #97a2a5; }
.transparent { background-color: rgb(151 162 165 / 50%); }
.gradient { background: linear-gradient(to right, #97a2a5, #979ba5); }
Similar colors
#979ea1Happy Cement#9ea4a5Statuary#9fa5a5Silent Film#a1a9a9Crown of Ash#90979bSteely Gray#8d9ca7Lost at Sea#999b9bWalrus#899499Pewter
Questions
- What color is #97A2A5?
- #97A2A5 is a gray, closest to the named color Happy Cement. It belongs to the gray family of colors.
- What is the RGB value of #97A2A5?
- The RGB value is 151, 162, 165: 151 red, 162 green and 165 blue on a 0 to 255 scale.
- What is the complementary color of #97A2A5?
- The complementary color is #A59A97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #97A2A5?
- Black text. Black text has a contrast ratio of 8.03:1 and white text 2.62:1. WCAG asks for at least 4.5:1 for normal text.