HSL(17, 3%, 39%)

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(17,3%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(17, 3%, 39%) color: hsl(17, 3%, 39%)
HEX #666260 color: #666260
RGB rgb(102, 98, 96) color: rgb(102, 98, 96)
CMYK cmyk(0%, 4%, 6%, 60%)
HSV hsv(20, 6%, 40%)
HWB hwb(20 38% 60%) color: hwb(20 38% 60%)
OKLCH oklch(0.4992 0.006 48.61) color: oklch(0.4992 0.006 48.61)
Lab lab(41.85 1.18 1.7) color: lab(41.85 1.18 1.7)
LCH lch(41.85 2.07 55.23) color: lch(41.85 2.07 55.23)

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 6.03:1
vs Black 3.48: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)

#646460 — rgb(100, 100, 96)

Deuteranopia (Green-blind)

#656561 — rgb(101, 101, 97)

Tritanopia (Blue-blind)

#666161 — rgb(102, 97, 97)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(17, 3%, 39%);

text

color: hsl(17, 3%, 39%);

border

border: 2px solid hsl(17, 3%, 39%);

gradient light

background: linear-gradient(to right, hsl(17, 3%, 59%), hsl(17, 3%, 39%));

gradient dark

background: linear-gradient(to right, hsl(17, 3%, 39%), hsl(17, 3%, 19%))

hex

background-color: #666260;

tailwind

bg-[hsl(17,3%,39%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(17, 3%, 39%, 0.4);

css variable

--color-primary: hsl(17, 3%, 39%);

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(17, 3%, 39%)?

HEX: #666260 | RGB: rgb(102, 98, 96) | CMYK: 0%, 4%, 6%, 60% | HSV: 20°, 6%, 40%. Copy any format from the conversion table above.

What colors go well with #666260?

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

How do I use HSL(17, 3%, 39%) in CSS?

As HSL: color: hsl(17, 3%, 39%); — As HEX: color: #666260; — As RGB: color: rgb(102, 98, 96); — Tailwind CSS: bg-[hsl(17,3%,39%)] — CSS variable: --color-primary: hsl(17, 3%, 39%);