#949798 color
The hex color #949798 is a gray.
In the RGB color model it is made of 58% red, 59.2% green and 59.6% blue (148, 151, 152).
Its hue angle is 195°, with 2% saturation and 59% lightness. For print, the CMYK equivalent is 3% cyan, 1% magenta, 0% yellow and 40% black.
The closest named color is Gray Area (#8F9394), a difference of 1.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.14:1).
#949798 color codes
| HEX | #949798 | |
|---|---|---|
| RGB | rgb(148, 151, 152) | |
| RGB percent | rgb(58%, 59.2%, 59.6%) | |
| HSL | hsl(195, 2%, 59%) | |
| HSV / HSB | hsv(195, 3%, 60%) | |
| CMYK | cmyk(3%, 1%, 0%, 40%) | |
| CIE LAB | lab(62.25, -0.89, -0.9) | |
| CIE LCH | lch(62.25, 1.27, 225.54) | |
| CIE XYZ | xyz(28.946, 30.696, 34.1) | |
| Decimal | 9738136 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #949798, 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 #949798 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.14:1 | Pass | Pass | Pass |
| Sample text | 2.94:1 | Fail | Fail | Fail |
| #949798 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.94:1 | Fail | Fail | Fail |
| Sample text | 7.14: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 #949798 looks to people with the most common types of color vision deficiency.
#969798Protanopia
no red cones#969698Deuteranopia
no green cones#939797Tritanopia
no blue cones#969696Achromatopsia
no color vision
CSS examples
.background { background-color: #949798; }
.text { color: #949798; }
.border { border: 2px solid #949798; }
.transparent { background-color: rgb(148 151 152 / 50%); }
.gradient { background: linear-gradient(to right, #949798, #949598); }
Similar colors
#8f9394Gray Area#999b9bWalrus#999999Million Gray#929292Nickel#90979bSteely Gray#919191Tin#979ea1Happy Cement#91979fGrisaille
Closest common color name: Pewter.
Questions
- What color is #949798?
- #949798 is a gray, closest to the named color Gray Area. It belongs to the gray family of colors.
- What is the RGB value of #949798?
- The RGB value is 148, 151, 152: 148 red, 151 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #949798?
- The complementary color is #989594, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #949798?
- Black text. Black text has a contrast ratio of 7.14:1 and white text 2.94:1. WCAG asks for at least 4.5:1 for normal text.