HSL(112, 6%, 37%)

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(112,6%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(112, 6%, 37%) color: hsl(112, 6%, 37%)
HEX #5A6459 color: #5A6459
RGB rgb(90, 100, 89) color: rgb(90, 100, 89)
CMYK cmyk(10%, 0%, 11%, 61%)
HSV hsv(115, 11%, 39%)
HWB hwb(115 35% 61%) color: hwb(115 35% 61%)
OKLCH oklch(0.4911 0.0212 142.71) color: oklch(0.4911 0.0212 142.71)
Lab lab(41.23 -6.19 4.94) color: lab(41.23 -6.19 4.94)
LCH lch(41.23 7.92 141.41) color: lch(41.23 7.92 141.41)

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 6.17:1
vs Black 3.4: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)

#5E5E5C — rgb(94, 94, 92)

Deuteranopia (Green-blind)

#5E5D5C — rgb(94, 93, 92)

Tritanopia (Blue-blind)

#5B5E5E — rgb(91, 94, 94)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(112, 6%, 37%);

text

color: hsl(112, 6%, 37%);

border

border: 2px solid hsl(112, 6%, 37%);

gradient light

background: linear-gradient(to right, hsl(112, 6%, 57%), hsl(112, 6%, 37%));

gradient dark

background: linear-gradient(to right, hsl(112, 6%, 37%), hsl(112, 6%, 17%))

hex

background-color: #5A6459;

tailwind

bg-[hsl(112,6%,37%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(112, 6%, 37%, 0.4);

css variable

--color-primary: hsl(112, 6%, 37%);

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(112, 6%, 37%)?

HEX: #5A6459 | RGB: rgb(90, 100, 89) | CMYK: 10%, 0%, 11%, 61% | HSV: 115°, 11%, 39%. Copy any format from the conversion table above.

What colors go well with #5A6459?

The complementary color is HSL(292, 6%, 37%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(112, 6%, 37%) in CSS?

As HSL: color: hsl(112, 6%, 37%); — As HEX: color: #5A6459; — As RGB: color: rgb(90, 100, 89); — Tailwind CSS: bg-[hsl(112,6%,37%)] — CSS variable: --color-primary: hsl(112, 6%, 37%);