HSL(82, 2%, 35%)
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(82,2%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(82, 2%, 35%) | color: hsl(82, 2%, 35%) | |
| HEX | #5A5B57 | color: #5A5B57 | |
| RGB | rgb(90, 91, 87) | color: rgb(90, 91, 87) | |
| CMYK | cmyk(1%, 0%, 4%, 64%) | — | |
| HSV | hsv(75, 4%, 36%) | — | |
| HWB | hwb(75 35% 64%) | color: hwb(75 35% 64%) | |
| OKLCH | oklch(0.469 0.0064 118.07) | color: oklch(0.469 0.0064 118.07) | |
| Lab | lab(38.45 -1.23 2.16) | color: lab(38.45 -1.23 2.16) | |
| LCH | lch(38.45 2.49 119.66) | color: lch(38.45 2.49 119.66) |
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)
#5A5A58 — rgb(90, 90, 88)
Deuteranopia (Green-blind)
#5A5A58 — rgb(90, 90, 88)
Tritanopia (Blue-blind)
#5A5959 — rgb(90, 89, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(82, 2%, 35%);
text
color: hsl(82, 2%, 35%);
border
border: 2px solid hsl(82, 2%, 35%);
gradient light
background: linear-gradient(to right, hsl(82, 2%, 55%), hsl(82, 2%, 35%));
gradient dark
background: linear-gradient(to right, hsl(82, 2%, 35%), hsl(82, 2%, 15%))
hex
background-color: #5A5B57;
tailwind
bg-[hsl(82,2%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(82, 2%, 35%, 0.4);
css variable
--color-primary: hsl(82, 2%, 35%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(82, 2%, 35%)?
HEX: #5A5B57 | RGB: rgb(90, 91, 87) | CMYK: 1%, 0%, 4%, 64% | HSV: 75°, 4%, 36%. Copy any format from the conversion table above.
What colors go well with #5A5B57?
The complementary color is HSL(262, 2%, 35%). For a triadic harmony, use hues 82°, 202°, and 322°. For analogous combinations, try hues 52° and 112°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(82, 2%, 35%) in CSS?
As HSL: color: hsl(82, 2%, 35%); — As HEX: color: #5A5B57; — As RGB: color: rgb(90, 91, 87); — Tailwind CSS: bg-[hsl(82,2%,35%)] — CSS variable: --color-primary: hsl(82, 2%, 35%);