HSL(104, 10%, 31%)

Grayish Green — Green color

Adjust Color

Color Information

Color Name

Grayish Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(104,10%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(104, 10%, 31%) color: hsl(104, 10%, 31%)
HEX #4B5747 color: #4B5747
RGB rgb(75, 87, 71) color: rgb(75, 87, 71)
CMYK cmyk(14%, 0%, 18%, 66%)
HSV hsv(105, 18%, 34%)
HWB hwb(105 28% 66%) color: hwb(105 28% 66%)
OKLCH oklch(0.4413 0.0298 137.89) color: oklch(0.4413 0.0298 137.89)
Lab lab(35.53 -8.17 7.75) color: lab(35.53 -8.17 7.75)
LCH lch(35.53 11.26 136.51) color: lch(35.53 11.26 136.51)

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 7.63:1
vs Black 2.75: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)

#50504B — rgb(80, 80, 75)

Deuteranopia (Green-blind)

#504F4C — rgb(80, 79, 76)

Tritanopia (Blue-blind)

#4C4E4F — rgb(76, 78, 79)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(104, 10%, 31%);

text

color: hsl(104, 10%, 31%);

border

border: 2px solid hsl(104, 10%, 31%);

gradient light

background: linear-gradient(to right, hsl(104, 10%, 51%), hsl(104, 10%, 31%));

gradient dark

background: linear-gradient(to right, hsl(104, 10%, 31%), hsl(104, 10%, 11%))

hex

background-color: #4B5747;

tailwind

bg-[hsl(104,10%,31%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(104, 10%, 31%, 0.4);

css variable

--color-primary: hsl(104, 10%, 31%);

Related Colors

Use Cases for Grayish Green

Success states Eco/nature brands Finance apps Health apps Confirm buttons

Frequently Asked Questions

What are all the color codes for HSL(104, 10%, 31%)?

HEX: #4B5747 | RGB: rgb(75, 87, 71) | CMYK: 14%, 0%, 18%, 66% | HSV: 105°, 18%, 34%. Copy any format from the conversion table above.

What colors go well with #4B5747?

The complementary color is HSL(284, 10%, 31%). For a triadic harmony, use hues 104°, 224°, and 344°. For analogous combinations, try hues 74° and 134°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(104, 10%, 31%) in CSS?

As HSL: color: hsl(104, 10%, 31%); — As HEX: color: #4B5747; — As RGB: color: rgb(75, 87, 71); — Tailwind CSS: bg-[hsl(104,10%,31%)] — CSS variable: --color-primary: hsl(104, 10%, 31%);