HSL(142, 3%, 62%)
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,3%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 3%, 62%) | color: hsl(142, 3%, 62%) | |
| HEX | #9BA19D | color: #9BA19D | |
| RGB | rgb(155, 161, 157) | color: rgb(155, 161, 157) | |
| CMYK | cmyk(4%, 0%, 2%, 37%) | — | |
| HSV | hsv(140, 4%, 63%) | — | |
| HWB | hwb(140 60% 37%) | color: hwb(140 60% 37%) | |
| OKLCH | oklch(0.7029 0.0089 157) | color: oklch(0.7029 0.0089 157) | |
| Lab | lab(65.66 -2.91 1.33) | color: lab(65.66 -2.91 1.33) | |
| LCH | lch(65.66 3.2 155.44) | color: lch(65.66 3.2 155.44) |
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)
#9E9E9E — rgb(158, 158, 158)
Deuteranopia (Green-blind)
#9D9D9E — rgb(157, 157, 158)
Tritanopia (Blue-blind)
#9B9F9F — rgb(155, 159, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 3%, 62%);
text
color: hsl(142, 3%, 62%);
border
border: 2px solid hsl(142, 3%, 62%);
gradient light
background: linear-gradient(to right, hsl(142, 3%, 82%), hsl(142, 3%, 62%));
gradient dark
background: linear-gradient(to right, hsl(142, 3%, 62%), hsl(142, 3%, 42%))
hex
background-color: #9BA19D;
tailwind
bg-[hsl(142,3%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 3%, 62%, 0.4);
css variable
--color-primary: hsl(142, 3%, 62%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(142, 3%, 62%)?
HEX: #9BA19D | RGB: rgb(155, 161, 157) | CMYK: 4%, 0%, 2%, 37% | HSV: 140°, 4%, 63%. Copy any format from the conversion table above.
What colors go well with #9BA19D?
The complementary color is HSL(322, 3%, 62%). 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, 3%, 62%) in CSS?
As HSL: color: hsl(142, 3%, 62%); — As HEX: color: #9BA19D; — As RGB: color: rgb(155, 161, 157); — Tailwind CSS: bg-[hsl(142,3%,62%)] — CSS variable: --color-primary: hsl(142, 3%, 62%);