HSL(86, 7%, 59%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(86,7%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(86, 7%, 59%) | color: hsl(86, 7%, 59%) | |
| HEX | #979E8F | color: #979E8F | |
| RGB | rgb(151, 158, 143) | color: rgb(151, 158, 143) | |
| CMYK | cmyk(4%, 0%, 9%, 38%) | — | |
| HSV | hsv(88, 9%, 62%) | — | |
| HWB | hwb(88 56% 38%) | color: hwb(88 56% 38%) | |
| OKLCH | oklch(0.6892 0.0229 127.53) | color: oklch(0.6892 0.0229 127.53) | |
| Lab | lab(64.17 -5.35 6.98) | color: lab(64.17 -5.35 6.98) | |
| LCH | lch(64.17 8.79 127.47) | color: lch(64.17 8.79 127.47) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#9A9A93 — rgb(154, 154, 147)
Deuteranopia (Green-blind)
#9A9994 — rgb(154, 153, 148)
Tritanopia (Blue-blind)
#979596 — rgb(151, 149, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(86, 7%, 59%);
text
color: hsl(86, 7%, 59%);
border
border: 2px solid hsl(86, 7%, 59%);
gradient light
background: linear-gradient(to right, hsl(86, 7%, 79%), hsl(86, 7%, 59%));
gradient dark
background: linear-gradient(to right, hsl(86, 7%, 59%), hsl(86, 7%, 39%))
hex
background-color: #979E8F;
tailwind
bg-[hsl(86,7%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(86, 7%, 59%, 0.4);
css variable
--color-primary: hsl(86, 7%, 59%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(86, 7%, 59%)?
HEX: #979E8F | RGB: rgb(151, 158, 143) | CMYK: 4%, 0%, 9%, 38% | HSV: 88°, 9%, 62%. Copy any format from the conversion table above.
What colors go well with #979E8F?
The complementary color is HSL(266, 7%, 59%). For a triadic harmony, use hues 86°, 206°, and 326°. For analogous combinations, try hues 56° and 116°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(86, 7%, 59%) in CSS?
As HSL: color: hsl(86, 7%, 59%); — As HEX: color: #979E8F; — As RGB: color: rgb(151, 158, 143); — Tailwind CSS: bg-[hsl(86,7%,59%)] — CSS variable: --color-primary: hsl(86, 7%, 59%);