HSL(145, 40%, 40%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(145,40%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(145, 40%, 40%) color: hsl(145, 40%, 40%)
HEX #3D8F5F color: #3D8F5F
RGB rgb(61, 143, 95) color: rgb(61, 143, 95)
CMYK cmyk(57%, 0%, 34%, 44%)
HSV hsv(145, 57%, 56%)
HWB hwb(145 24% 44%) color: hwb(145 24% 44%)
OKLCH oklch(0.586 0.1094 155.15) color: oklch(0.586 0.1094 155.15)
Lab lab(53.45 -36.49 18.23) color: lab(53.45 -36.49 18.23)
LCH lch(53.45 40.79 153.45) color: lch(53.45 40.79 153.45)

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 3.97:1
vs Black 5.29:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#61616B — rgb(97, 97, 107)

Deuteranopia (Green-blind)

#5C566D — rgb(92, 86, 109)

Tritanopia (Blue-blind)

#417476 — rgb(65, 116, 118)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(145, 40%, 40%);

text

color: hsl(145, 40%, 40%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #3D8F5F;

tailwind

bg-[hsl(145,40%,40%)]

box shadow

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

css variable

--color-primary: hsl(145, 40%, 40%);

Related Colors

Use Cases for Green

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

Frequently Asked Questions

What are all the color codes for HSL(145, 40%, 40%)?

HEX: #3D8F5F | RGB: rgb(61, 143, 95) | CMYK: 57%, 0%, 34%, 44% | HSV: 145°, 57%, 56%. Copy any format from the conversion table above.

What colors go well with #3D8F5F?

The complementary color is HSL(325, 40%, 40%). For a triadic harmony, use hues 145°, 265°, and 25°. For analogous combinations, try hues 115° and 175°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(145, 40%, 40%); — As HEX: color: #3D8F5F; — As RGB: color: rgb(61, 143, 95); — Tailwind CSS: bg-[hsl(145,40%,40%)] — CSS variable: --color-primary: hsl(145, 40%, 40%);