HSL(126, 8%, 41%)

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(126,8%,41%)]

Color Conversions

Format Value CSS Usage
HSL hsl(126, 8%, 41%) color: hsl(126, 8%, 41%)
HEX #607162 color: #607162
RGB rgb(96, 113, 98) color: rgb(96, 113, 98)
CMYK cmyk(15%, 0%, 13%, 56%)
HSV hsv(127, 15%, 44%)
HWB hwb(127 37% 56%) color: hwb(127 37% 56%)
OKLCH oklch(0.5299 0.0308 148.45) color: oklch(0.5299 0.0308 148.45)
Lab lab(45.88 -9.54 6.22) color: lab(45.88 -9.54 6.22)
LCH lch(45.88 11.39 146.9) color: lch(45.88 11.39 146.9)

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 5.2:1
vs Black 4.04:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#676866 — rgb(103, 104, 102)

Deuteranopia (Green-blind)

#666567 — rgb(102, 101, 103)

Tritanopia (Blue-blind)

#616869 — rgb(97, 104, 105)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(126, 8%, 41%);

text

color: hsl(126, 8%, 41%);

border

border: 2px solid hsl(126, 8%, 41%);

gradient light

background: linear-gradient(to right, hsl(126, 8%, 61%), hsl(126, 8%, 41%));

gradient dark

background: linear-gradient(to right, hsl(126, 8%, 41%), hsl(126, 8%, 21%))

hex

background-color: #607162;

tailwind

bg-[hsl(126,8%,41%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(126, 8%, 41%, 0.4);

css variable

--color-primary: hsl(126, 8%, 41%);

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(126, 8%, 41%)?

HEX: #607162 | RGB: rgb(96, 113, 98) | CMYK: 15%, 0%, 13%, 56% | HSV: 127°, 15%, 44%. Copy any format from the conversion table above.

What colors go well with #607162?

The complementary color is HSL(306, 8%, 41%). For a triadic harmony, use hues 126°, 246°, and 6°. For analogous combinations, try hues 96° and 156°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(126, 8%, 41%) in CSS?

As HSL: color: hsl(126, 8%, 41%); — As HEX: color: #607162; — As RGB: color: rgb(96, 113, 98); — Tailwind CSS: bg-[hsl(126,8%,41%)] — CSS variable: --color-primary: hsl(126, 8%, 41%);