HSL(318, 5%, 45%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(318,5%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(318, 5%, 45%) | color: hsl(318, 5%, 45%) | |
| HEX | #786D75 | color: #786D75 | |
| RGB | rgb(120, 109, 117) | color: rgb(120, 109, 117) | |
| CMYK | cmyk(0%, 9%, 3%, 53%) | — | |
| HSV | hsv(316, 9%, 47%) | — | |
| HWB | hwb(316 43% 53%) | color: hwb(316 43% 53%) | |
| OKLCH | oklch(0.5475 0.0182 335.35) | color: oklch(0.5475 0.0182 335.35) | |
| Lab | lab(47.26 5.85 -2.88) | color: lab(47.26 5.85 -2.88) | |
| LCH | lch(47.26 6.52 333.79) | color: lch(47.26 6.52 333.79) |
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)
#737373 — rgb(115, 115, 115)
Deuteranopia (Green-blind)
#747573 — rgb(116, 117, 115)
Tritanopia (Blue-blind)
#777271 — rgb(119, 114, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(318, 5%, 45%);
text
color: hsl(318, 5%, 45%);
border
border: 2px solid hsl(318, 5%, 45%);
gradient light
background: linear-gradient(to right, hsl(318, 5%, 65%), hsl(318, 5%, 45%));
gradient dark
background: linear-gradient(to right, hsl(318, 5%, 45%), hsl(318, 5%, 25%))
hex
background-color: #786D75;
tailwind
bg-[hsl(318,5%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(318, 5%, 45%, 0.4);
css variable
--color-primary: hsl(318, 5%, 45%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(318, 5%, 45%)?
HEX: #786D75 | RGB: rgb(120, 109, 117) | CMYK: 0%, 9%, 3%, 53% | HSV: 316°, 9%, 47%. Copy any format from the conversion table above.
What colors go well with #786D75?
The complementary color is HSL(138, 5%, 45%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(318, 5%, 45%) in CSS?
As HSL: color: hsl(318, 5%, 45%); — As HEX: color: #786D75; — As RGB: color: rgb(120, 109, 117); — Tailwind CSS: bg-[hsl(318,5%,45%)] — CSS variable: --color-primary: hsl(318, 5%, 45%);