HSL(142, 9%, 42%)
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(142,9%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 9%, 42%) | color: hsl(142, 9%, 42%) | |
| HEX | #617569 | color: #617569 | |
| RGB | rgb(97, 117, 105) | color: rgb(97, 117, 105) | |
| CMYK | cmyk(17%, 0%, 10%, 54%) | — | |
| HSV | hsv(144, 17%, 46%) | — | |
| HWB | hwb(144 38% 54%) | color: hwb(144 38% 54%) | |
| OKLCH | oklch(0.5424 0.0301 158.89) | color: oklch(0.5424 0.0301 158.89) | |
| Lab | lab(47.34 -9.99 4.17) | color: lab(47.34 -9.99 4.17) | |
| LCH | lch(47.34 10.83 157.34) | color: lch(47.34 10.83 157.34) |
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)
#6A6A6C — rgb(106, 106, 108)
Deuteranopia (Green-blind)
#69676D — rgb(105, 103, 109)
Tritanopia (Blue-blind)
#626E6F — rgb(98, 110, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 9%, 42%);
text
color: hsl(142, 9%, 42%);
border
border: 2px solid hsl(142, 9%, 42%);
gradient light
background: linear-gradient(to right, hsl(142, 9%, 62%), hsl(142, 9%, 42%));
gradient dark
background: linear-gradient(to right, hsl(142, 9%, 42%), hsl(142, 9%, 22%))
hex
background-color: #617569;
tailwind
bg-[hsl(142,9%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 9%, 42%, 0.4);
css variable
--color-primary: hsl(142, 9%, 42%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(142, 9%, 42%)?
HEX: #617569 | RGB: rgb(97, 117, 105) | CMYK: 17%, 0%, 10%, 54% | HSV: 144°, 17%, 46%. Copy any format from the conversion table above.
What colors go well with #617569?
The complementary color is HSL(322, 9%, 42%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(142, 9%, 42%) in CSS?
As HSL: color: hsl(142, 9%, 42%); — As HEX: color: #617569; — As RGB: color: rgb(97, 117, 105); — Tailwind CSS: bg-[hsl(142,9%,42%)] — CSS variable: --color-primary: hsl(142, 9%, 42%);