HSL(138, 7%, 32%)

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(138,7%,32%)]

Color Conversions

Format Value CSS Usage
HSL hsl(138, 7%, 32%) color: hsl(138, 7%, 32%)
HEX #4C574F color: #4C574F
RGB rgb(76, 87, 79) color: rgb(76, 87, 79)
CMYK cmyk(13%, 0%, 9%, 66%)
HSV hsv(136, 13%, 34%)
HWB hwb(136 30% 66%) color: hwb(136 30% 66%)
OKLCH oklch(0.4445 0.0189 153.98) color: oklch(0.4445 0.0189 153.98)
Lab lab(35.82 -6.1 3.19) color: lab(35.82 -6.1 3.19)
LCH lch(35.82 6.88 152.39) color: lch(35.82 6.88 152.39)

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 7.54:1
vs Black 2.78:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#515151 — rgb(81, 81, 81)

Deuteranopia (Green-blind)

#504F51 — rgb(80, 79, 81)

Tritanopia (Blue-blind)

#4D5253 — rgb(77, 82, 83)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(138, 7%, 32%);

text

color: hsl(138, 7%, 32%);

border

border: 2px solid hsl(138, 7%, 32%);

gradient light

background: linear-gradient(to right, hsl(138, 7%, 52%), hsl(138, 7%, 32%));

gradient dark

background: linear-gradient(to right, hsl(138, 7%, 32%), hsl(138, 7%, 12%))

hex

background-color: #4C574F;

tailwind

bg-[hsl(138,7%,32%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(138, 7%, 32%, 0.4);

css variable

--color-primary: hsl(138, 7%, 32%);

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(138, 7%, 32%)?

HEX: #4C574F | RGB: rgb(76, 87, 79) | CMYK: 13%, 0%, 9%, 66% | HSV: 136°, 13%, 34%. Copy any format from the conversion table above.

What colors go well with #4C574F?

The complementary color is HSL(318, 7%, 32%). For a triadic harmony, use hues 138°, 258°, and 18°. For analogous combinations, try hues 108° and 168°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(138, 7%, 32%) in CSS?

As HSL: color: hsl(138, 7%, 32%); — As HEX: color: #4C574F; — As RGB: color: rgb(76, 87, 79); — Tailwind CSS: bg-[hsl(138,7%,32%)] — CSS variable: --color-primary: hsl(138, 7%, 32%);