HSL(23, 6%, 28%)

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(23,6%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(23, 6%, 28%) color: hsl(23, 6%, 28%)
HEX #4C4643 color: #4C4643
RGB rgb(76, 70, 67) color: rgb(76, 70, 67)
CMYK cmyk(0%, 8%, 12%, 70%)
HSV hsv(20, 12%, 30%)
HWB hwb(20 26% 70%) color: hwb(20 26% 70%)
OKLCH oklch(0.3991 0.0096 48.47) color: oklch(0.3991 0.0096 48.47)
Lab lab(30.21 1.91 2.72) color: lab(30.21 1.91 2.72)
LCH lch(30.21 3.32 54.92) color: lch(30.21 3.32 54.92)

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 9.27:1
vs Black 2.26:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#494944 — rgb(73, 73, 68)

Deuteranopia (Green-blind)

#4A4A44 — rgb(74, 74, 68)

Tritanopia (Blue-blind)

#4C4444 — rgb(76, 68, 68)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(23, 6%, 28%);

text

color: hsl(23, 6%, 28%);

border

border: 2px solid hsl(23, 6%, 28%);

gradient light

background: linear-gradient(to right, hsl(23, 6%, 48%), hsl(23, 6%, 28%));

gradient dark

background: linear-gradient(to right, hsl(23, 6%, 28%), hsl(23, 6%, 8%))

hex

background-color: #4C4643;

tailwind

bg-[hsl(23,6%,28%)]

box shadow

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

css variable

--color-primary: hsl(23, 6%, 28%);

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(23, 6%, 28%)?

HEX: #4C4643 | RGB: rgb(76, 70, 67) | CMYK: 0%, 8%, 12%, 70% | HSV: 20°, 12%, 30%. Copy any format from the conversion table above.

What colors go well with #4C4643?

The complementary color is HSL(203, 6%, 28%). For a triadic harmony, use hues 23°, 143°, and 263°. For analogous combinations, try hues 353° and 53°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(23, 6%, 28%) in CSS?

As HSL: color: hsl(23, 6%, 28%); — As HEX: color: #4C4643; — As RGB: color: rgb(76, 70, 67); — Tailwind CSS: bg-[hsl(23,6%,28%)] — CSS variable: --color-primary: hsl(23, 6%, 28%);