HSL(159, 9%, 46%)
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%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 9%, 46%) | color: hsl(159, 9%, 46%) | |
| HEX | #6B8078 | color: #6B8078 | |
| RGB | rgb(107, 128, 120) | color: rgb(107, 128, 120) | |
| CMYK | cmyk(16%, 0%, 6%, 50%) | — | |
| HSV | hsv(157, 16%, 50%) | — | |
| HWB | hwb(157 42% 50%) | color: hwb(157 42% 50%) | |
| OKLCH | oklch(0.5806 0.0273 170.3) | color: oklch(0.5806 0.0273 170.3) | |
| Lab | lab(51.75 -9.35 1.79) | color: lab(51.75 -9.35 1.79) | |
| LCH | lch(51.75 9.52 169.16) | color: lch(51.75 9.52 169.16) |
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)
#74747A — rgb(116, 116, 122)
Deuteranopia (Green-blind)
#73717A — rgb(115, 113, 122)
Tritanopia (Blue-blind)
#6C7B7C — rgb(108, 123, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 9%, 46%);
text
color: hsl(159, 9%, 46%);
border
border: 2px solid hsl(159, 9%, 46%);
gradient light
background: linear-gradient(to right, hsl(159, 9%, 66%), hsl(159, 9%, 46%));
gradient dark
background: linear-gradient(to right, hsl(159, 9%, 46%), hsl(159, 9%, 26%))
hex
background-color: #6B8078;
tailwind
bg-[hsl(159,9%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 9%, 46%, 0.4);
css variable
--color-primary: hsl(159, 9%, 46%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(159, 9%, 46%)?
HEX: #6B8078 | RGB: rgb(107, 128, 120) | CMYK: 16%, 0%, 6%, 50% | HSV: 157°, 16%, 50%. Copy any format from the conversion table above.
What colors go well with #6B8078?
The complementary color is HSL(339, 9%, 46%). 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%, 46%) in CSS?
As HSL: color: hsl(159, 9%, 46%); — As HEX: color: #6B8078; — As RGB: color: rgb(107, 128, 120); — Tailwind CSS: bg-[hsl(159,9%,46%)] — CSS variable: --color-primary: hsl(159, 9%, 46%);