HSL(159, 9%, 47%)
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(159,9%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 9%, 47%) | color: hsl(159, 9%, 47%) | |
| HEX | #6D837B | color: #6D837B | |
| RGB | rgb(109, 131, 123) | color: rgb(109, 131, 123) | |
| CMYK | cmyk(17%, 0%, 6%, 49%) | — | |
| HSV | hsv(158, 17%, 51%) | — | |
| HWB | hwb(158 42% 49%) | color: hwb(158 42% 49%) | |
| OKLCH | oklch(0.59 0.0282 171.29) | color: oklch(0.59 0.0282 171.29) | |
| Lab | lab(52.85 -9.67 1.67) | color: lab(52.85 -9.67 1.67) | |
| LCH | lch(52.85 9.81 170.2) | color: lch(52.85 9.81 170.2) |
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)
#77777D — rgb(119, 119, 125)
Deuteranopia (Green-blind)
#75747D — rgb(117, 116, 125)
Tritanopia (Blue-blind)
#6E7E7F — rgb(110, 126, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 9%, 47%);
text
color: hsl(159, 9%, 47%);
border
border: 2px solid hsl(159, 9%, 47%);
gradient light
background: linear-gradient(to right, hsl(159, 9%, 67%), hsl(159, 9%, 47%));
gradient dark
background: linear-gradient(to right, hsl(159, 9%, 47%), hsl(159, 9%, 27%))
hex
background-color: #6D837B;
tailwind
bg-[hsl(159,9%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 9%, 47%, 0.4);
css variable
--color-primary: hsl(159, 9%, 47%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(159, 9%, 47%)?
HEX: #6D837B | RGB: rgb(109, 131, 123) | CMYK: 17%, 0%, 6%, 49% | HSV: 158°, 17%, 51%. Copy any format from the conversion table above.
What colors go well with #6D837B?
The complementary color is HSL(339, 9%, 47%). For a triadic harmony, use hues 159°, 279°, and 39°. For analogous combinations, try hues 129° and 189°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(159, 9%, 47%) in CSS?
As HSL: color: hsl(159, 9%, 47%); — As HEX: color: #6D837B; — As RGB: color: rgb(109, 131, 123); — Tailwind CSS: bg-[hsl(159,9%,47%)] — CSS variable: --color-primary: hsl(159, 9%, 47%);