HSL(99, 9%, 38%)

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(99,9%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(99, 9%, 38%) color: hsl(99, 9%, 38%)
HEX #5E6A58 color: #5E6A58
RGB rgb(94, 106, 88) color: rgb(94, 106, 88)
CMYK cmyk(11%, 0%, 17%, 58%)
HSV hsv(100, 17%, 42%)
HWB hwb(100 35% 58%) color: hwb(100 35% 58%)
OKLCH oklch(0.5086 0.0314 135.15) color: oklch(0.5086 0.0314 135.15)
Lab lab(43.35 -8.29 8.59) color: lab(43.35 -8.29 8.59)
LCH lch(43.35 11.94 133.98) color: lch(43.35 11.94 133.98)

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.71:1
vs Black 3.68: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)

#63635C — rgb(99, 99, 92)

Deuteranopia (Green-blind)

#63625D — rgb(99, 98, 93)

Tritanopia (Blue-blind)

#5F6061 — rgb(95, 96, 97)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(99, 9%, 38%);

text

color: hsl(99, 9%, 38%);

border

border: 2px solid hsl(99, 9%, 38%);

gradient light

background: linear-gradient(to right, hsl(99, 9%, 58%), hsl(99, 9%, 38%));

gradient dark

background: linear-gradient(to right, hsl(99, 9%, 38%), hsl(99, 9%, 18%))

hex

background-color: #5E6A58;

tailwind

bg-[hsl(99,9%,38%)]

box shadow

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

css variable

--color-primary: hsl(99, 9%, 38%);

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(99, 9%, 38%)?

HEX: #5E6A58 | RGB: rgb(94, 106, 88) | CMYK: 11%, 0%, 17%, 58% | HSV: 100°, 17%, 42%. Copy any format from the conversion table above.

What colors go well with #5E6A58?

The complementary color is HSL(279, 9%, 38%). For a triadic harmony, use hues 99°, 219°, and 339°. For analogous combinations, try hues 69° and 129°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(99, 9%, 38%) in CSS?

As HSL: color: hsl(99, 9%, 38%); — As HEX: color: #5E6A58; — As RGB: color: rgb(94, 106, 88); — Tailwind CSS: bg-[hsl(99,9%,38%)] — CSS variable: --color-primary: hsl(99, 9%, 38%);