HSL(147, 58%, 20%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(147,58%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(147, 58%, 20%) color: hsl(147, 58%, 20%)
HEX #155130 color: #155130
RGB rgb(21, 81, 48) color: rgb(21, 81, 48)
CMYK cmyk(74%, 0%, 41%, 68%)
HSV hsv(147, 74%, 32%)
HWB hwb(147 8% 68%) color: hwb(147 8% 68%)
OKLCH oklch(0.3875 0.0829 154.95) color: oklch(0.3875 0.0829 154.95)
Lab lab(30.05 -27.76 14.02) color: lab(30.05 -27.76 14.02)
LCH lch(30.05 31.1 153.2) color: lch(30.05 31.1 153.2)

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 9.33:1
vs Black 2.25: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)

#2F3038 — rgb(47, 48, 56)

Deuteranopia (Green-blind)

#2C273A — rgb(44, 39, 58)

Tritanopia (Blue-blind)

#183E40 — rgb(24, 62, 64)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(147, 58%, 20%);

text

color: hsl(147, 58%, 20%);

border

border: 2px solid hsl(147, 58%, 20%);

gradient light

background: linear-gradient(to right, hsl(147, 58%, 40%), hsl(147, 58%, 20%));

gradient dark

background: linear-gradient(to right, hsl(147, 58%, 20%), hsl(147, 58%, 0%))

hex

background-color: #155130;

tailwind

bg-[hsl(147,58%,20%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(147, 58%, 20%, 0.4);

css variable

--color-primary: hsl(147, 58%, 20%);

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(147, 58%, 20%)?

HEX: #155130 | RGB: rgb(21, 81, 48) | CMYK: 74%, 0%, 41%, 68% | HSV: 147°, 74%, 32%. Copy any format from the conversion table above.

What colors go well with #155130?

The complementary color is HSL(327, 58%, 20%). For a triadic harmony, use hues 147°, 267°, and 27°. For analogous combinations, try hues 117° and 177°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(147, 58%, 20%) in CSS?

As HSL: color: hsl(147, 58%, 20%); — As HEX: color: #155130; — As RGB: color: rgb(21, 81, 48); — Tailwind CSS: bg-[hsl(147,58%,20%)] — CSS variable: --color-primary: hsl(147, 58%, 20%);