HSL(79, 9%, 46%)

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(79,9%,46%)]

Color Conversions

Format Value CSS Usage
HSL hsl(79, 9%, 46%) color: hsl(79, 9%, 46%)
HEX #79806B color: #79806B
RGB rgb(121, 128, 107) color: rgb(121, 128, 107)
CMYK cmyk(5%, 0%, 16%, 50%)
HSV hsv(80, 16%, 50%)
HWB hwb(80 42% 50%) color: hwb(80 42% 50%)
OKLCH oklch(0.5879 0.0322 122.39) color: oklch(0.5879 0.0322 122.39)
Lab lab(52.47 -6.63 10.54) color: lab(52.47 -6.63 10.54)
LCH lch(52.47 12.45 122.17) color: lch(52.47 12.45 122.17)

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 4.11:1
vs Black 5.11: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)

#7C7C70 — rgb(124, 124, 112)

Deuteranopia (Green-blind)

#7C7B71 — rgb(124, 123, 113)

Tritanopia (Blue-blind)

#797475 — rgb(121, 116, 117)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(79, 9%, 46%);

text

color: hsl(79, 9%, 46%);

border

border: 2px solid hsl(79, 9%, 46%);

gradient light

background: linear-gradient(to right, hsl(79, 9%, 66%), hsl(79, 9%, 46%));

gradient dark

background: linear-gradient(to right, hsl(79, 9%, 46%), hsl(79, 9%, 26%))

hex

background-color: #79806B;

tailwind

bg-[hsl(79,9%,46%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(79, 9%, 46%, 0.4);

css variable

--color-primary: hsl(79, 9%, 46%);

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(79, 9%, 46%)?

HEX: #79806B | RGB: rgb(121, 128, 107) | CMYK: 5%, 0%, 16%, 50% | HSV: 80°, 16%, 50%. Copy any format from the conversion table above.

What colors go well with #79806B?

The complementary color is HSL(259, 9%, 46%). For a triadic harmony, use hues 79°, 199°, and 319°. For analogous combinations, try hues 49° and 109°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(79, 9%, 46%) in CSS?

As HSL: color: hsl(79, 9%, 46%); — As HEX: color: #79806B; — As RGB: color: rgb(121, 128, 107); — Tailwind CSS: bg-[hsl(79,9%,46%)] — CSS variable: --color-primary: hsl(79, 9%, 46%);