HSL(142, 54%, 19%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(142,54%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(142, 54%, 19%) color: hsl(142, 54%, 19%)
HEX #164B29 color: #164B29
RGB rgb(22, 75, 41) color: rgb(22, 75, 41)
CMYK cmyk(71%, 0%, 45%, 71%)
HSV hsv(142, 71%, 29%)
HWB hwb(142 8% 71%) color: hwb(142 8% 71%)
OKLCH oklch(0.3681 0.0806 151.94) color: oklch(0.3681 0.0806 151.94)
Lab lab(27.74 -26.31 15.27) color: lab(27.74 -26.31 15.27)
LCH lch(27.74 30.42 149.87) color: lch(27.74 30.42 149.87)

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 10.13:1
vs Black 2.07: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)

#2D2D31 — rgb(45, 45, 49)

Deuteranopia (Green-blind)

#2A2633 — rgb(42, 38, 51)

Tritanopia (Blue-blind)

#193839 — rgb(25, 56, 57)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(142, 54%, 19%);

text

color: hsl(142, 54%, 19%);

border

border: 2px solid hsl(142, 54%, 19%);

gradient light

background: linear-gradient(to right, hsl(142, 54%, 39%), hsl(142, 54%, 19%));

gradient dark

background: linear-gradient(to right, hsl(142, 54%, 19%), hsl(142, 54%, 0%))

hex

background-color: #164B29;

tailwind

bg-[hsl(142,54%,19%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(142, 54%, 19%, 0.4);

css variable

--color-primary: hsl(142, 54%, 19%);

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(142, 54%, 19%)?

HEX: #164B29 | RGB: rgb(22, 75, 41) | CMYK: 71%, 0%, 45%, 71% | HSV: 142°, 71%, 29%. Copy any format from the conversion table above.

What colors go well with #164B29?

The complementary color is HSL(322, 54%, 19%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(142, 54%, 19%) in CSS?

As HSL: color: hsl(142, 54%, 19%); — As HEX: color: #164B29; — As RGB: color: rgb(22, 75, 41); — Tailwind CSS: bg-[hsl(142,54%,19%)] — CSS variable: --color-primary: hsl(142, 54%, 19%);