HSL(84, 9%, 40%)
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(84,9%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(84, 9%, 40%) | color: hsl(84, 9%, 40%) | |
| HEX | #686F5D | color: #686F5D | |
| RGB | rgb(104, 111, 93) | color: rgb(104, 111, 93) | |
| CMYK | cmyk(6%, 0%, 16%, 56%) | — | |
| HSV | hsv(83, 16%, 44%) | — | |
| HWB | hwb(83 37% 56%) | color: hwb(83 37% 56%) | |
| OKLCH | oklch(0.5303 0.0287 124.68) | color: oklch(0.5303 0.0287 124.68) | |
| Lab | lab(45.77 -6.24 9.14) | color: lab(45.77 -6.24 9.14) | |
| LCH | lch(45.77 11.07 124.32) | color: lch(45.77 11.07 124.32) |
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)
#6B6B61 — rgb(107, 107, 97)
Deuteranopia (Green-blind)
#6B6A62 — rgb(107, 106, 98)
Tritanopia (Blue-blind)
#686566 — rgb(104, 101, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(84, 9%, 40%);
text
color: hsl(84, 9%, 40%);
border
border: 2px solid hsl(84, 9%, 40%);
gradient light
background: linear-gradient(to right, hsl(84, 9%, 60%), hsl(84, 9%, 40%));
gradient dark
background: linear-gradient(to right, hsl(84, 9%, 40%), hsl(84, 9%, 20%))
hex
background-color: #686F5D;
tailwind
bg-[hsl(84,9%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(84, 9%, 40%, 0.4);
css variable
--color-primary: hsl(84, 9%, 40%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(84, 9%, 40%)?
HEX: #686F5D | RGB: rgb(104, 111, 93) | CMYK: 6%, 0%, 16%, 56% | HSV: 83°, 16%, 44%. Copy any format from the conversion table above.
What colors go well with #686F5D?
The complementary color is HSL(264, 9%, 40%). For a triadic harmony, use hues 84°, 204°, and 324°. For analogous combinations, try hues 54° and 114°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(84, 9%, 40%) in CSS?
As HSL: color: hsl(84, 9%, 40%); — As HEX: color: #686F5D; — As RGB: color: rgb(104, 111, 93); — Tailwind CSS: bg-[hsl(84,9%,40%)] — CSS variable: --color-primary: hsl(84, 9%, 40%);