HSL(145, 40%, 37%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(145, 40%, 37%) color: hsl(145, 40%, 37%)
HEX #398458 color: #398458
RGB rgb(57, 132, 88) color: rgb(57, 132, 88)
CMYK cmyk(57%, 0%, 33%, 48%)
HSV hsv(145, 57%, 52%)
HWB hwb(145 22% 48%) color: hwb(145 22% 48%)
OKLCH oklch(0.5536 0.1019 155.22) color: oklch(0.5536 0.1019 155.22)
Lab lab(49.59 -33.99 16.92) color: lab(49.59 -33.99 16.92)
LCH lch(49.59 37.97 153.54) color: lch(49.59 37.97 153.54)

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 4.55:1
vs Black 4.62:1

AA Normal (4.5:1)

on White: PASS ✓ 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)

#595A63 — rgb(89, 90, 99)

Deuteranopia (Green-blind)

#555065 — rgb(85, 80, 101)

Tritanopia (Blue-blind)

#3D6B6D — rgb(61, 107, 109)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #398458;

tailwind

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

box shadow

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

css variable

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

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%, 37%)?

HEX: #398458 | RGB: rgb(57, 132, 88) | CMYK: 57%, 0%, 33%, 48% | HSV: 145°, 57%, 52%. Copy any format from the conversion table above.

What colors go well with #398458?

The complementary color is HSL(325, 40%, 37%). 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%, 37%) in CSS?

As HSL: color: hsl(145, 40%, 37%); — As HEX: color: #398458; — As RGB: color: rgb(57, 132, 88); — Tailwind CSS: bg-[hsl(145,40%,37%)] — CSS variable: --color-primary: hsl(145, 40%, 37%);