HSL(97, 7%, 51%)

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(97,7%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 7%, 51%) color: hsl(97, 7%, 51%)
HEX #808B79 color: #808B79
RGB rgb(128, 139, 121) color: rgb(128, 139, 121)
CMYK cmyk(8%, 0%, 13%, 45%)
HSV hsv(97, 13%, 55%)
HWB hwb(97 48% 45%) color: hwb(97 48% 45%)
OKLCH oklch(0.6224 0.0294 133.12) color: oklch(0.6224 0.0294 133.12)
Lab lab(56.52 -7.53 8.28) color: lab(56.52 -7.53 8.28)
LCH lch(56.52 11.19 132.28) color: lch(56.52 11.19 132.28)

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 3.57:1
vs Black 5.89:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#85857D — rgb(133, 133, 125)

Deuteranopia (Green-blind)

#84837E — rgb(132, 131, 126)

Tritanopia (Blue-blind)

#818182 — rgb(129, 129, 130)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 7%, 51%);

text

color: hsl(97, 7%, 51%);

border

border: 2px solid hsl(97, 7%, 51%);

gradient light

background: linear-gradient(to right, hsl(97, 7%, 71%), hsl(97, 7%, 51%));

gradient dark

background: linear-gradient(to right, hsl(97, 7%, 51%), hsl(97, 7%, 31%))

hex

background-color: #808B79;

tailwind

bg-[hsl(97,7%,51%)]

box shadow

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

css variable

--color-primary: hsl(97, 7%, 51%);

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(97, 7%, 51%)?

HEX: #808B79 | RGB: rgb(128, 139, 121) | CMYK: 8%, 0%, 13%, 45% | HSV: 97°, 13%, 55%. Copy any format from the conversion table above.

What colors go well with #808B79?

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

How do I use HSL(97, 7%, 51%) in CSS?

As HSL: color: hsl(97, 7%, 51%); — As HEX: color: #808B79; — As RGB: color: rgb(128, 139, 121); — Tailwind CSS: bg-[hsl(97,7%,51%)] — CSS variable: --color-primary: hsl(97, 7%, 51%);