HSL(162, 2%, 30%)

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(162,2%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(162, 2%, 30%) color: hsl(162, 2%, 30%)
HEX #4B4E4D color: #4B4E4D
RGB rgb(75, 78, 77) color: rgb(75, 78, 77)
CMYK cmyk(4%, 0%, 1%, 69%)
HSV hsv(160, 4%, 31%)
HWB hwb(160 30% 69%) color: hwb(160 30% 69%)
OKLCH oklch(0.4208 0.0042 174.29) color: oklch(0.4208 0.0042 174.29)
Lab lab(32.88 -1.44 0.17) color: lab(32.88 -1.44 0.17)
LCH lch(32.88 1.45 173.27) color: lch(32.88 1.45 173.27)

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 8.41:1
vs Black 2.5: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)

#4C4C4D — rgb(76, 76, 77)

Deuteranopia (Green-blind)

#4C4C4D — rgb(76, 76, 77)

Tritanopia (Blue-blind)

#4B4D4D — rgb(75, 77, 77)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(162, 2%, 30%);

text

color: hsl(162, 2%, 30%);

border

border: 2px solid hsl(162, 2%, 30%);

gradient light

background: linear-gradient(to right, hsl(162, 2%, 50%), hsl(162, 2%, 30%));

gradient dark

background: linear-gradient(to right, hsl(162, 2%, 30%), hsl(162, 2%, 10%))

hex

background-color: #4B4E4D;

tailwind

bg-[hsl(162,2%,30%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(162, 2%, 30%, 0.4);

css variable

--color-primary: hsl(162, 2%, 30%);

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(162, 2%, 30%)?

HEX: #4B4E4D | RGB: rgb(75, 78, 77) | CMYK: 4%, 0%, 1%, 69% | HSV: 160°, 4%, 31%. Copy any format from the conversion table above.

What colors go well with #4B4E4D?

The complementary color is HSL(342, 2%, 30%). For a triadic harmony, use hues 162°, 282°, and 42°. For analogous combinations, try hues 132° and 192°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(162, 2%, 30%) in CSS?

As HSL: color: hsl(162, 2%, 30%); — As HEX: color: #4B4E4D; — As RGB: color: rgb(75, 78, 77); — Tailwind CSS: bg-[hsl(162,2%,30%)] — CSS variable: --color-primary: hsl(162, 2%, 30%);