HSL(167, 4%, 61%)

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(167,4%,61%)]

Color Conversions

Format Value CSS Usage
HSL hsl(167, 4%, 61%) color: hsl(167, 4%, 61%)
HEX #98A09E color: #98A09E
RGB rgb(152, 160, 158) color: rgb(152, 160, 158)
CMYK cmyk(5%, 0%, 1%, 37%)
HSV hsv(165, 5%, 63%)
HWB hwb(165 60% 37%) color: hwb(165 60% 37%)
OKLCH oklch(0.6987 0.0096 179.47) color: oklch(0.6987 0.0096 179.47)
Lab lab(65.19 -3.24 0.05) color: lab(65.19 -3.24 0.05)
LCH lch(65.19 3.24 179.12) color: lch(65.19 3.24 179.12)

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.67:1
vs Black 7.86: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)

#9B9C9E — rgb(155, 156, 158)

Deuteranopia (Green-blind)

#9B9A9F — rgb(155, 154, 159)

Tritanopia (Blue-blind)

#989F9F — rgb(152, 159, 159)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(167, 4%, 61%);

text

color: hsl(167, 4%, 61%);

border

border: 2px solid hsl(167, 4%, 61%);

gradient light

background: linear-gradient(to right, hsl(167, 4%, 81%), hsl(167, 4%, 61%));

gradient dark

background: linear-gradient(to right, hsl(167, 4%, 61%), hsl(167, 4%, 41%))

hex

background-color: #98A09E;

tailwind

bg-[hsl(167,4%,61%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(167, 4%, 61%, 0.4);

css variable

--color-primary: hsl(167, 4%, 61%);

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(167, 4%, 61%)?

HEX: #98A09E | RGB: rgb(152, 160, 158) | CMYK: 5%, 0%, 1%, 37% | HSV: 165°, 5%, 63%. Copy any format from the conversion table above.

What colors go well with #98A09E?

The complementary color is HSL(347, 4%, 61%). For a triadic harmony, use hues 167°, 287°, and 47°. For analogous combinations, try hues 137° and 197°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(167, 4%, 61%) in CSS?

As HSL: color: hsl(167, 4%, 61%); — As HEX: color: #98A09E; — As RGB: color: rgb(152, 160, 158); — Tailwind CSS: bg-[hsl(167,4%,61%)] — CSS variable: --color-primary: hsl(167, 4%, 61%);