HSL(42, 7%, 42%)

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(42,7%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(42, 7%, 42%) color: hsl(42, 7%, 42%)
HEX #736E64 color: #736E64
RGB rgb(115, 110, 100) color: rgb(115, 110, 100)
CMYK cmyk(0%, 4%, 13%, 55%)
HSV hsv(40, 13%, 45%)
HWB hwb(40 39% 55%) color: hwb(40 39% 55%)
OKLCH oklch(0.5397 0.0164 84.59) color: oklch(0.5397 0.0164 84.59)
Lab lab(46.6 0.05 6.27) color: lab(46.6 0.05 6.27)
LCH lch(46.6 6.27 89.54) color: lch(46.6 6.27 89.54)

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.07:1
vs Black 4.14: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)

#717166 — rgb(113, 113, 102)

Deuteranopia (Green-blind)

#717267 — rgb(113, 114, 103)

Tritanopia (Blue-blind)

#736869 — rgb(115, 104, 105)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(42, 7%, 42%);

text

color: hsl(42, 7%, 42%);

border

border: 2px solid hsl(42, 7%, 42%);

gradient light

background: linear-gradient(to right, hsl(42, 7%, 62%), hsl(42, 7%, 42%));

gradient dark

background: linear-gradient(to right, hsl(42, 7%, 42%), hsl(42, 7%, 22%))

hex

background-color: #736E64;

tailwind

bg-[hsl(42,7%,42%)]

box shadow

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

css variable

--color-primary: hsl(42, 7%, 42%);

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(42, 7%, 42%)?

HEX: #736E64 | RGB: rgb(115, 110, 100) | CMYK: 0%, 4%, 13%, 55% | HSV: 40°, 13%, 45%. Copy any format from the conversion table above.

What colors go well with #736E64?

The complementary color is HSL(222, 7%, 42%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(42, 7%, 42%) in CSS?

As HSL: color: hsl(42, 7%, 42%); — As HEX: color: #736E64; — As RGB: color: rgb(115, 110, 100); — Tailwind CSS: bg-[hsl(42,7%,42%)] — CSS variable: --color-primary: hsl(42, 7%, 42%);