HSL(159, 9%, 38%)
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%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 9%, 38%) | color: hsl(159, 9%, 38%) | |
| HEX | #586A64 | color: #586A64 | |
| RGB | rgb(88, 106, 100) | color: rgb(88, 106, 100) | |
| CMYK | cmyk(17%, 0%, 6%, 58%) | — | |
| HSV | hsv(160, 17%, 42%) | — | |
| HWB | hwb(160 35% 58%) | color: hwb(160 35% 58%) | |
| OKLCH | oklch(0.5075 0.0236 173.15) | color: oklch(0.5075 0.0236 173.15) | |
| Lab | lab(43.22 -8.1 1.11) | color: lab(43.22 -8.1 1.11) | |
| LCH | lch(43.22 8.18 172.2) | color: lch(43.22 8.18 172.2) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#606065 — rgb(96, 96, 101)
Deuteranopia (Green-blind)
#5F5D66 — rgb(95, 93, 102)
Tritanopia (Blue-blind)
#596767 — rgb(89, 103, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 9%, 38%);
text
color: hsl(159, 9%, 38%);
border
border: 2px solid hsl(159, 9%, 38%);
gradient light
background: linear-gradient(to right, hsl(159, 9%, 58%), hsl(159, 9%, 38%));
gradient dark
background: linear-gradient(to right, hsl(159, 9%, 38%), hsl(159, 9%, 18%))
hex
background-color: #586A64;
tailwind
bg-[hsl(159,9%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 9%, 38%, 0.4);
css variable
--color-primary: hsl(159, 9%, 38%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(159, 9%, 38%)?
HEX: #586A64 | RGB: rgb(88, 106, 100) | CMYK: 17%, 0%, 6%, 58% | HSV: 160°, 17%, 42%. Copy any format from the conversion table above.
What colors go well with #586A64?
The complementary color is HSL(339, 9%, 38%). 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%, 38%) in CSS?
As HSL: color: hsl(159, 9%, 38%); — As HEX: color: #586A64; — As RGB: color: rgb(88, 106, 100); — Tailwind CSS: bg-[hsl(159,9%,38%)] — CSS variable: --color-primary: hsl(159, 9%, 38%);