HSL(307, 2%, 60%)

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(307,2%,60%)]

Color Conversions

Format Value CSS Usage
HSL hsl(307, 2%, 60%) color: hsl(307, 2%, 60%)
HEX #9B979B color: #9B979B
RGB rgb(155, 151, 155) color: rgb(155, 151, 155)
CMYK cmyk(0%, 3%, 0%, 39%)
HSV hsv(300, 3%, 61%)
HWB hwb(300 59% 39%) color: hwb(300 59% 39%)
OKLCH oklch(0.681 0.0074 325.66) color: oklch(0.681 0.0074 325.66)
Lab lab(62.9 2.22 -1.58) color: lab(62.9 2.22 -1.58)
LCH lch(62.9 2.72 324.56) color: lch(62.9 2.72 324.56)

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 2.88:1
vs Black 7.29:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#99999A — rgb(153, 153, 154)

Deuteranopia (Green-blind)

#9A9A9A — rgb(154, 154, 154)

Tritanopia (Blue-blind)

#9B9999 — rgb(155, 153, 153)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(307, 2%, 60%);

text

color: hsl(307, 2%, 60%);

border

border: 2px solid hsl(307, 2%, 60%);

gradient light

background: linear-gradient(to right, hsl(307, 2%, 80%), hsl(307, 2%, 60%));

gradient dark

background: linear-gradient(to right, hsl(307, 2%, 60%), hsl(307, 2%, 40%))

hex

background-color: #9B979B;

tailwind

bg-[hsl(307,2%,60%)]

box shadow

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

css variable

--color-primary: hsl(307, 2%, 60%);

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(307, 2%, 60%)?

HEX: #9B979B | RGB: rgb(155, 151, 155) | CMYK: 0%, 3%, 0%, 39% | HSV: 300°, 3%, 61%. Copy any format from the conversion table above.

What colors go well with #9B979B?

The complementary color is HSL(127, 2%, 60%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(307, 2%, 60%) in CSS?

As HSL: color: hsl(307, 2%, 60%); — As HEX: color: #9B979B; — As RGB: color: rgb(155, 151, 155); — Tailwind CSS: bg-[hsl(307,2%,60%)] — CSS variable: --color-primary: hsl(307, 2%, 60%);