HSL(125, 5%, 50%)

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(125,5%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(125, 5%, 50%) color: hsl(125, 5%, 50%)
HEX #79867A color: #79867A
RGB rgb(121, 134, 122) color: rgb(121, 134, 122)
CMYK cmyk(10%, 0%, 9%, 47%)
HSV hsv(125, 10%, 53%)
HWB hwb(125 48% 47%) color: hwb(125 48% 47%)
OKLCH oklch(0.6058 0.0235 147.46) color: oklch(0.6058 0.0235 147.46)
Lab lab(54.57 -7.19 4.85) color: lab(54.57 -7.19 4.85)
LCH lch(54.57 8.67 146) color: lch(54.57 8.67 146)

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.82:1
vs Black 5.5: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)

#7F7F7D — rgb(127, 127, 125)

Deuteranopia (Green-blind)

#7E7D7E — rgb(126, 125, 126)

Tritanopia (Blue-blind)

#7A7F80 — rgb(122, 127, 128)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(125, 5%, 50%);

text

color: hsl(125, 5%, 50%);

border

border: 2px solid hsl(125, 5%, 50%);

gradient light

background: linear-gradient(to right, hsl(125, 5%, 70%), hsl(125, 5%, 50%));

gradient dark

background: linear-gradient(to right, hsl(125, 5%, 50%), hsl(125, 5%, 30%))

hex

background-color: #79867A;

tailwind

bg-[hsl(125,5%,50%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(125, 5%, 50%, 0.4);

css variable

--color-primary: hsl(125, 5%, 50%);

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(125, 5%, 50%)?

HEX: #79867A | RGB: rgb(121, 134, 122) | CMYK: 10%, 0%, 9%, 47% | HSV: 125°, 10%, 53%. Copy any format from the conversion table above.

What colors go well with #79867A?

The complementary color is HSL(305, 5%, 50%). For a triadic harmony, use hues 125°, 245°, and 5°. For analogous combinations, try hues 95° and 155°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(125, 5%, 50%) in CSS?

As HSL: color: hsl(125, 5%, 50%); — As HEX: color: #79867A; — As RGB: color: rgb(121, 134, 122); — Tailwind CSS: bg-[hsl(125,5%,50%)] — CSS variable: --color-primary: hsl(125, 5%, 50%);