HSL(3, 8%, 58%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(3,8%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(3, 8%, 58%) | color: hsl(3, 8%, 58%) | |
| HEX | #9C8C8B | color: #9C8C8B | |
| RGB | rgb(156, 140, 139) | color: rgb(156, 140, 139) | |
| CMYK | cmyk(0%, 10%, 11%, 39%) | — | |
| HSV | hsv(4, 11%, 61%) | — | |
| HWB | hwb(4 54% 39%) | color: hwb(4 54% 39%) | |
| OKLCH | oklch(0.654 0.0193 21.96) | color: oklch(0.654 0.0193 21.96) | |
| Lab | lab(59.61 5.8 2.71) | color: lab(59.61 5.8 2.71) | |
| LCH | lch(59.61 6.4 25.04) | color: lch(59.61 6.4 25.04) |
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)
#95958B — rgb(149, 149, 139)
Deuteranopia (Green-blind)
#96978B — rgb(150, 151, 139)
Tritanopia (Blue-blind)
#9B8B8B — rgb(155, 139, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(3, 8%, 58%);
text
color: hsl(3, 8%, 58%);
border
border: 2px solid hsl(3, 8%, 58%);
gradient light
background: linear-gradient(to right, hsl(3, 8%, 78%), hsl(3, 8%, 58%));
gradient dark
background: linear-gradient(to right, hsl(3, 8%, 58%), hsl(3, 8%, 38%))
hex
background-color: #9C8C8B;
tailwind
bg-[hsl(3,8%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(3, 8%, 58%, 0.4);
css variable
--color-primary: hsl(3, 8%, 58%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(3, 8%, 58%)?
HEX: #9C8C8B | RGB: rgb(156, 140, 139) | CMYK: 0%, 10%, 11%, 39% | HSV: 4°, 11%, 61%. Copy any format from the conversion table above.
What colors go well with #9C8C8B?
The complementary color is HSL(183, 8%, 58%). For a triadic harmony, use hues 3°, 123°, and 243°. For analogous combinations, try hues 333° and 33°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(3, 8%, 58%) in CSS?
As HSL: color: hsl(3, 8%, 58%); — As HEX: color: #9C8C8B; — As RGB: color: rgb(156, 140, 139); — Tailwind CSS: bg-[hsl(3,8%,58%)] — CSS variable: --color-primary: hsl(3, 8%, 58%);