HSL(129, 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(129,9%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(129, 9%, 40%) color: hsl(129, 9%, 40%)
HEX #5D6F60 color: #5D6F60
RGB rgb(93, 111, 96) color: rgb(93, 111, 96)
CMYK cmyk(16%, 0%, 14%, 56%)
HSV hsv(130, 16%, 44%)
HWB hwb(130 37% 56%) color: hwb(130 37% 56%)
OKLCH oklch(0.5222 0.0317 149.96) color: oklch(0.5222 0.0317 149.96)
Lab lab(45 -9.95 6.13) color: lab(45 -9.95 6.13)
LCH lch(45 11.69 148.36) color: lch(45 11.69 148.36)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 5.37:1
vs Black 3.91:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#656564 — rgb(101, 101, 100)

Deuteranopia (Green-blind)

#646265 — rgb(100, 98, 101)

Tritanopia (Blue-blind)

#5E6667 — rgb(94, 102, 103)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(129, 9%, 40%);

text

color: hsl(129, 9%, 40%);

border

border: 2px solid hsl(129, 9%, 40%);

gradient light

background: linear-gradient(to right, hsl(129, 9%, 60%), hsl(129, 9%, 40%));

gradient dark

background: linear-gradient(to right, hsl(129, 9%, 40%), hsl(129, 9%, 20%))

hex

background-color: #5D6F60;

tailwind

bg-[hsl(129,9%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(129, 9%, 40%, 0.4);

css variable

--color-primary: hsl(129, 9%, 40%);

Related Colors

Use Cases for Grayish Gray

Neutral backgrounds Body text Borders Secondary buttons Disabled states

Frequently Asked Questions

What are all the color codes for HSL(129, 9%, 40%)?

HEX: #5D6F60 | RGB: rgb(93, 111, 96) | CMYK: 16%, 0%, 14%, 56% | HSV: 130°, 16%, 44%. Copy any format from the conversion table above.

What colors go well with #5D6F60?

The complementary color is HSL(309, 9%, 40%). For a triadic harmony, use hues 129°, 249°, and 9°. For analogous combinations, try hues 99° and 159°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(129, 9%, 40%) in CSS?

As HSL: color: hsl(129, 9%, 40%); — As HEX: color: #5D6F60; — As RGB: color: rgb(93, 111, 96); — Tailwind CSS: bg-[hsl(129,9%,40%)] — CSS variable: --color-primary: hsl(129, 9%, 40%);