HSL(166, 8%, 36%)
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(166,8%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 8%, 36%) | color: hsl(166, 8%, 36%) | |
| HEX | #546360 | color: #546360 | |
| RGB | rgb(84, 99, 96) | color: rgb(84, 99, 96) | |
| CMYK | cmyk(15%, 0%, 3%, 61%) | — | |
| HSV | hsv(168, 15%, 39%) | — | |
| HWB | hwb(168 33% 61%) | color: hwb(168 33% 61%) | |
| OKLCH | oklch(0.486 0.019 182.08) | color: oklch(0.486 0.019 182.08) | |
| Lab | lab(40.66 -6.39 -0.22) | color: lab(40.66 -6.39 -0.22) | |
| LCH | lch(40.66 6.39 181.97) | color: lch(40.66 6.39 181.97) |
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)
#5A5B61 — rgb(90, 91, 97)
Deuteranopia (Green-blind)
#5A5961 — rgb(90, 89, 97)
Tritanopia (Blue-blind)
#556161 — rgb(85, 97, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 8%, 36%);
text
color: hsl(166, 8%, 36%);
border
border: 2px solid hsl(166, 8%, 36%);
gradient light
background: linear-gradient(to right, hsl(166, 8%, 56%), hsl(166, 8%, 36%));
gradient dark
background: linear-gradient(to right, hsl(166, 8%, 36%), hsl(166, 8%, 16%))
hex
background-color: #546360;
tailwind
bg-[hsl(166,8%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 8%, 36%, 0.4);
css variable
--color-primary: hsl(166, 8%, 36%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(166, 8%, 36%)?
HEX: #546360 | RGB: rgb(84, 99, 96) | CMYK: 15%, 0%, 3%, 61% | HSV: 168°, 15%, 39%. Copy any format from the conversion table above.
What colors go well with #546360?
The complementary color is HSL(346, 8%, 36%). For a triadic harmony, use hues 166°, 286°, and 46°. For analogous combinations, try hues 136° and 196°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(166, 8%, 36%) in CSS?
As HSL: color: hsl(166, 8%, 36%); — As HEX: color: #546360; — As RGB: color: rgb(84, 99, 96); — Tailwind CSS: bg-[hsl(166,8%,36%)] — CSS variable: --color-primary: hsl(166, 8%, 36%);