#98A2A7 color
The hex color #98A2A7 is a gray.
In the RGB color model it is made of 59.6% red, 63.5% green and 65.5% blue (152, 162, 167).
Its hue angle is 200°, with 8% saturation and 63% lightness. For print, the CMYK equivalent is 9% cyan, 3% magenta, 0% yellow and 35% black.
The closest named color is Happy Cement (#979EA1), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.06:1).
#98A2A7 color codes
| HEX | #98A2A7 | |
|---|---|---|
| RGB | rgb(152, 162, 167) | |
| RGB percent | rgb(59.6%, 63.5%, 65.5%) | |
| HSL | hsl(200, 8%, 63%) | |
| HSV / HSB | hsv(200, 9%, 65%) | |
| CMYK | cmyk(9%, 3%, 0%, 35%) | |
| CIE LAB | lab(65.99, -2.53, -3.81) | |
| CIE LCH | lch(65.99, 4.57, 236.48) | |
| CIE XYZ | xyz(32.843, 35.306, 41.636) | |
| Decimal | 10003111 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #98A2A7, 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 #98A2A7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.06:1 | Pass | Pass | Pass |
| Sample text | 2.61:1 | Fail | Fail | Fail |
| #98A2A7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.61:1 | Fail | Fail | Fail |
| Sample text | 8.06: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 #98A2A7 looks to people with the most common types of color vision deficiency.
#9fa1a7Protanopia
no red cones#9da0a7Deuteranopia
no green cones#94a3a3Tritanopia
no blue cones#a0a0a0Achromatopsia
no color vision
CSS examples
.background { background-color: #98a2a7; }
.text { color: #98a2a7; }
.border { border: 2px solid #98a2a7; }
.transparent { background-color: rgb(152 162 167 / 50%); }
.gradient { background: linear-gradient(to right, #98a2a7, #989ba7); }
Similar colors
#979ea1Happy Cement#9ea4a5Statuary#9fa5a5Silent Film#a1a9a9Crown of Ash#90979bSteely Gray#8d9ca7Lost at Sea#91979fGrisaille#999b9bWalrus
Closest common color name: Pewter.
Questions
- What color is #98A2A7?
- #98A2A7 is a gray, closest to the named color Happy Cement. It belongs to the gray family of colors.
- What is the RGB value of #98A2A7?
- The RGB value is 152, 162, 167: 152 red, 162 green and 167 blue on a 0 to 255 scale.
- What is the complementary color of #98A2A7?
- The complementary color is #A79D98, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #98A2A7?
- Black text. Black text has a contrast ratio of 8.06:1 and white text 2.61:1. WCAG asks for at least 4.5:1 for normal text.