HSL(62, 4%, 34%)
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(62,4%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 4%, 34%) | color: hsl(62, 4%, 34%) | |
| HEX | #5A5A53 | color: #5A5A53 | |
| RGB | rgb(90, 90, 83) | color: rgb(90, 90, 83) | |
| CMYK | cmyk(0%, 0%, 8%, 65%) | — | |
| HSV | hsv(60, 8%, 35%) | — | |
| HWB | hwb(60 32% 65%) | color: hwb(60 32% 65%) | |
| OKLCH | oklch(0.4653 0.0111 106.82) | color: oklch(0.4653 0.0111 106.82) | |
| Lab | lab(38.04 -1.43 4.04) | color: lab(38.04 -1.43 4.04) | |
| LCH | lch(38.04 4.29 109.49) | color: lch(38.04 4.29 109.49) |
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)
#5A5A55 — rgb(90, 90, 85)
Deuteranopia (Green-blind)
#5A5A55 — rgb(90, 90, 85)
Tritanopia (Blue-blind)
#5A5656 — rgb(90, 86, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 4%, 34%);
text
color: hsl(62, 4%, 34%);
border
border: 2px solid hsl(62, 4%, 34%);
gradient light
background: linear-gradient(to right, hsl(62, 4%, 54%), hsl(62, 4%, 34%));
gradient dark
background: linear-gradient(to right, hsl(62, 4%, 34%), hsl(62, 4%, 14%))
hex
background-color: #5A5A53;
tailwind
bg-[hsl(62,4%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 4%, 34%, 0.4);
css variable
--color-primary: hsl(62, 4%, 34%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(62, 4%, 34%)?
HEX: #5A5A53 | RGB: rgb(90, 90, 83) | CMYK: 0%, 0%, 8%, 65% | HSV: 60°, 8%, 35%. Copy any format from the conversion table above.
What colors go well with #5A5A53?
The complementary color is HSL(242, 4%, 34%). For a triadic harmony, use hues 62°, 182°, and 302°. For analogous combinations, try hues 32° and 92°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(62, 4%, 34%) in CSS?
As HSL: color: hsl(62, 4%, 34%); — As HEX: color: #5A5A53; — As RGB: color: rgb(90, 90, 83); — Tailwind CSS: bg-[hsl(62,4%,34%)] — CSS variable: --color-primary: hsl(62, 4%, 34%);