HSL(116, 14%, 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(116,14%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(116, 14%, 40%) color: hsl(116, 14%, 40%)
HEX #5A7458 color: #5A7458
RGB rgb(90, 116, 88) color: rgb(90, 116, 88)
CMYK cmyk(22%, 0%, 24%, 55%)
HSV hsv(116, 24%, 45%)
HWB hwb(116 34% 55%) color: hwb(116 34% 55%)
OKLCH oklch(0.5301 0.0528 142.97) color: oklch(0.5301 0.0528 142.97)
Lab lab(46.14 -15.45 12.45) color: lab(46.14 -15.45 12.45)
LCH lch(46.14 19.84 141.14) color: lch(46.14 19.84 141.14)

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.15:1
vs Black 4.07: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)

#65655F — rgb(101, 101, 95)

Deuteranopia (Green-blind)

#646260 — rgb(100, 98, 96)

Tritanopia (Blue-blind)

#5B6465 — rgb(91, 100, 101)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(116, 14%, 40%);

text

color: hsl(116, 14%, 40%);

border

border: 2px solid hsl(116, 14%, 40%);

gradient light

background: linear-gradient(to right, hsl(116, 14%, 60%), hsl(116, 14%, 40%));

gradient dark

background: linear-gradient(to right, hsl(116, 14%, 40%), hsl(116, 14%, 20%))

hex

background-color: #5A7458;

tailwind

bg-[hsl(116,14%,40%)]

box shadow

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

css variable

--color-primary: hsl(116, 14%, 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(116, 14%, 40%)?

HEX: #5A7458 | RGB: rgb(90, 116, 88) | CMYK: 22%, 0%, 24%, 55% | HSV: 116°, 24%, 45%. Copy any format from the conversion table above.

What colors go well with #5A7458?

The complementary color is HSL(296, 14%, 40%). For a triadic harmony, use hues 116°, 236°, and 356°. For analogous combinations, try hues 86° and 146°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(116, 14%, 40%) in CSS?

As HSL: color: hsl(116, 14%, 40%); — As HEX: color: #5A7458; — As RGB: color: rgb(90, 116, 88); — Tailwind CSS: bg-[hsl(116,14%,40%)] — CSS variable: --color-primary: hsl(116, 14%, 40%);