HSL(159, 9%, 64%)
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(159,9%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 9%, 64%) | color: hsl(159, 9%, 64%) | |
| HEX | #9BABA6 | color: #9BABA6 | |
| RGB | rgb(155, 171, 166) | color: rgb(155, 171, 166) | |
| CMYK | cmyk(9%, 0%, 3%, 33%) | — | |
| HSV | hsv(161, 9%, 67%) | — | |
| HWB | hwb(161 61% 33%) | color: hwb(161 61% 33%) | |
| OKLCH | oklch(0.7272 0.0193 175.08) | color: oklch(0.7272 0.0193 175.08) | |
| Lab | lab(68.64 -6.58 0.66) | color: lab(68.64 -6.58 0.66) | |
| LCH | lch(68.64 6.61 174.27) | color: lch(68.64 6.61 174.27) |
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)
#A2A2A7 — rgb(162, 162, 167)
Deuteranopia (Green-blind)
#A1A0A8 — rgb(161, 160, 168)
Tritanopia (Blue-blind)
#9CA8A8 — rgb(156, 168, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 9%, 64%);
text
color: hsl(159, 9%, 64%);
border
border: 2px solid hsl(159, 9%, 64%);
gradient light
background: linear-gradient(to right, hsl(159, 9%, 84%), hsl(159, 9%, 64%));
gradient dark
background: linear-gradient(to right, hsl(159, 9%, 64%), hsl(159, 9%, 44%))
hex
background-color: #9BABA6;
tailwind
bg-[hsl(159,9%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 9%, 64%, 0.4);
css variable
--color-primary: hsl(159, 9%, 64%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(159, 9%, 64%)?
HEX: #9BABA6 | RGB: rgb(155, 171, 166) | CMYK: 9%, 0%, 3%, 33% | HSV: 161°, 9%, 67%. Copy any format from the conversion table above.
What colors go well with #9BABA6?
The complementary color is HSL(339, 9%, 64%). For a triadic harmony, use hues 159°, 279°, and 39°. For analogous combinations, try hues 129° and 189°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(159, 9%, 64%) in CSS?
As HSL: color: hsl(159, 9%, 64%); — As HEX: color: #9BABA6; — As RGB: color: rgb(155, 171, 166); — Tailwind CSS: bg-[hsl(159,9%,64%)] — CSS variable: --color-primary: hsl(159, 9%, 64%);