Happy Cement color: hex code #979EA1
Happy Cement has the hex code #979EA1. It is a gray.
In the RGB color model it is made of 59.2% red, 62% green and 63.1% blue (151, 158, 161).
Its hue angle is 198°, with 5% saturation and 61% lightness. For print, the CMYK equivalent is 6% cyan, 2% magenta, 0% yellow and 37% black.
Black text is the more readable choice on this background (contrast 7.72:1).
Happy Cement (#979EA1) color codes
| HEX | #979EA1 | |
|---|---|---|
| RGB | rgb(151, 158, 161) | |
| RGB percent | rgb(59.2%, 62%, 63.1%) | |
| HSL | hsl(198, 5%, 61%) | |
| HSV / HSB | hsv(198, 6%, 63%) | |
| CMYK | cmyk(6%, 2%, 0%, 37%) | |
| CIE LAB | lab(64.65, -1.9, -2.43) | |
| CIE LCH | lch(64.65, 3.08, 231.99) | |
| CIE XYZ | xyz(31.421, 33.606, 38.543) | |
| Decimal | 9936545 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Happy Cement, 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 #979EA1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.72:1 | Pass | Pass | Pass |
| Sample text | 2.72:1 | Fail | Fail | Fail |
| #979EA1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.72:1 | Fail | Fail | Fail |
| Sample text | 7.72: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 #979EA1 looks to people with the most common types of color vision deficiency.
#9c9ea1Protanopia
no red cones#9b9ca1Deuteranopia
no green cones#959f9fTritanopia
no blue cones#9d9d9dAchromatopsia
no color vision
CSS examples
.background { background-color: #979ea1; }
.text { color: #979ea1; }
.border { border: 2px solid #979ea1; }
.transparent { background-color: rgb(151 158 161 / 50%); }
.gradient { background: linear-gradient(to right, #979ea1, #9799a1); }
Similar colors
#9ea4a5Statuary#90979bSteely Gray#999b9bWalrus#9fa5a5Silent Film#91979fGrisaille#999999Million Gray#a1a9a9Crown of Ash#8f9394Gray Area
Closest common color name: Pewter.
See #979EA1 on its hex code page
Questions
- What color is #979EA1?
- #979EA1 is a gray known as Happy Cement. It belongs to the gray family of colors.
- What is the RGB value of Happy Cement?
- The RGB value is 151, 158, 161: 151 red, 158 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of Happy Cement?
- The complementary color is #A19A97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #979EA1?
- Black text. Black text has a contrast ratio of 7.72:1 and white text 2.72:1. WCAG asks for at least 4.5:1 for normal text.