HSL(38, 9%, 59%)

Grayish Gray — Gray color

Adjust Color

Color Information

Color Name

Grayish Gray

Color Family

Gray

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(38, 9%, 59%) color: hsl(38, 9%, 59%)
HEX #A0998D color: #A0998D
RGB rgb(160, 153, 141) color: rgb(160, 153, 141)
CMYK cmyk(0%, 4%, 12%, 37%)
HSV hsv(38, 12%, 63%)
HWB hwb(38 55% 37%) color: hwb(38 55% 37%)
OKLCH oklch(0.6855 0.0191 81.31) color: oklch(0.6855 0.0191 81.31)
Lab lab(63.49 0.41 7.22) color: lab(63.49 0.41 7.22)
LCH lch(63.49 7.23 86.75) color: lch(63.49 7.23 86.75)

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

#9D9D90 — rgb(157, 157, 144)

Deuteranopia (Green-blind)

#9D9E91 — rgb(157, 158, 145)

Tritanopia (Blue-blind)

#A09293 — rgb(160, 146, 147)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(38, 9%, 79%), hsl(38, 9%, 59%));

gradient dark

background: linear-gradient(to right, hsl(38, 9%, 59%), hsl(38, 9%, 39%))

hex

background-color: #A0998D;

tailwind

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

box shadow

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

css variable

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

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

HEX: #A0998D | RGB: rgb(160, 153, 141) | CMYK: 0%, 4%, 12%, 37% | HSV: 38°, 12%, 63%. Copy any format from the conversion table above.

What colors go well with #A0998D?

The complementary color is HSL(218, 9%, 59%). For a triadic harmony, use hues 38°, 158°, and 278°. For analogous combinations, try hues 8° and 68°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(38, 9%, 59%); — As HEX: color: #A0998D; — As RGB: color: rgb(160, 153, 141); — Tailwind CSS: bg-[hsl(38,9%,59%)] — CSS variable: --color-primary: hsl(38, 9%, 59%);