HSL(112, 57%, 20%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(112,57%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(112, 57%, 20%) color: hsl(112, 57%, 20%)
HEX #1E5016 color: #1E5016
RGB rgb(30, 80, 22) color: rgb(30, 80, 22)
CMYK cmyk(63%, 0%, 73%, 69%)
HSV hsv(112, 73%, 31%)
HWB hwb(112 8% 69%) color: hwb(112 8% 69%)
OKLCH oklch(0.3832 0.1033 141.05) color: oklch(0.3832 0.1033 141.05)
Lab lab(29.59 -29.4 28.19) color: lab(29.59 -29.4 28.19)
LCH lch(29.59 40.73 136.2) color: lch(29.59 40.73 136.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.48:1
vs Black 2.21: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)

#343424 — rgb(52, 52, 36)

Deuteranopia (Green-blind)

#312D27 — rgb(49, 45, 39)

Tritanopia (Blue-blind)

#212F32 — rgb(33, 47, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(112, 57%, 20%);

text

color: hsl(112, 57%, 20%);

border

border: 2px solid hsl(112, 57%, 20%);

gradient light

background: linear-gradient(to right, hsl(112, 57%, 40%), hsl(112, 57%, 20%));

gradient dark

background: linear-gradient(to right, hsl(112, 57%, 20%), hsl(112, 57%, 0%))

hex

background-color: #1E5016;

tailwind

bg-[hsl(112,57%,20%)]

box shadow

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

css variable

--color-primary: hsl(112, 57%, 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(112, 57%, 20%)?

HEX: #1E5016 | RGB: rgb(30, 80, 22) | CMYK: 63%, 0%, 73%, 69% | HSV: 112°, 73%, 31%. Copy any format from the conversion table above.

What colors go well with #1E5016?

The complementary color is HSL(292, 57%, 20%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(112, 57%, 20%) in CSS?

As HSL: color: hsl(112, 57%, 20%); — As HEX: color: #1E5016; — As RGB: color: rgb(30, 80, 22); — Tailwind CSS: bg-[hsl(112,57%,20%)] — CSS variable: --color-primary: hsl(112, 57%, 20%);