HSL(120, 10%, 40%)

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(120,10%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(120, 10%, 40%) color: hsl(120, 10%, 40%)
HEX #5C705C color: #5C705C
RGB rgb(92, 112, 92) color: rgb(92, 112, 92)
CMYK cmyk(18%, 0%, 18%, 56%)
HSV hsv(120, 18%, 44%)
HWB hwb(120 36% 56%) color: hwb(120 36% 56%)
OKLCH oklch(0.5228 0.0391 144.99) color: oklch(0.5228 0.0391 144.99)
Lab lab(45.13 -11.7 8.7) color: lab(45.13 -11.7 8.7)
LCH lch(45.13 14.58 143.37) color: lch(45.13 14.58 143.37)

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.35:1
vs Black 3.93: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)

#656561 — rgb(101, 101, 97)

Deuteranopia (Green-blind)

#646262 — rgb(100, 98, 98)

Tritanopia (Blue-blind)

#5D6566 — rgb(93, 101, 102)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(120, 10%, 40%);

text

color: hsl(120, 10%, 40%);

border

border: 2px solid hsl(120, 10%, 40%);

gradient light

background: linear-gradient(to right, hsl(120, 10%, 60%), hsl(120, 10%, 40%));

gradient dark

background: linear-gradient(to right, hsl(120, 10%, 40%), hsl(120, 10%, 20%))

hex

background-color: #5C705C;

tailwind

bg-[hsl(120,10%,40%)]

box shadow

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

css variable

--color-primary: hsl(120, 10%, 40%);

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(120, 10%, 40%)?

HEX: #5C705C | RGB: rgb(92, 112, 92) | CMYK: 18%, 0%, 18%, 56% | HSV: 120°, 18%, 44%. Copy any format from the conversion table above.

What colors go well with #5C705C?

The complementary color is HSL(300, 10%, 40%). For a triadic harmony, use hues 120°, 240°, and 0°. For analogous combinations, try hues 90° and 150°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(120, 10%, 40%) in CSS?

As HSL: color: hsl(120, 10%, 40%); — As HEX: color: #5C705C; — As RGB: color: rgb(92, 112, 92); — Tailwind CSS: bg-[hsl(120,10%,40%)] — CSS variable: --color-primary: hsl(120, 10%, 40%);