HSL(112, 60%, 22%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(112,60%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(112, 60%, 22%) color: hsl(112, 60%, 22%)
HEX #1F5A16 color: #1F5A16
RGB rgb(31, 90, 22) color: rgb(31, 90, 22)
CMYK cmyk(66%, 0%, 76%, 65%)
HSV hsv(112, 76%, 35%)
HWB hwb(112 8% 65%) color: hwb(112 8% 65%)
OKLCH oklch(0.4137 0.1168 141.19) color: oklch(0.4137 0.1168 141.19)
Lab lab(33.27 -33.29 32.11) color: lab(33.27 -33.29 32.11)
LCH lch(33.27 46.25 136.03) color: lch(33.27 46.25 136.03)

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 8.29:1
vs Black 2.53: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)

#393926 — rgb(57, 57, 38)

Deuteranopia (Green-blind)

#35312A — rgb(53, 49, 42)

Tritanopia (Blue-blind)

#223336 — rgb(34, 51, 54)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(112, 60%, 22%);

text

color: hsl(112, 60%, 22%);

border

border: 2px solid hsl(112, 60%, 22%);

gradient light

background: linear-gradient(to right, hsl(112, 60%, 42%), hsl(112, 60%, 22%));

gradient dark

background: linear-gradient(to right, hsl(112, 60%, 22%), hsl(112, 60%, 2%))

hex

background-color: #1F5A16;

tailwind

bg-[hsl(112,60%,22%)]

box shadow

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

css variable

--color-primary: hsl(112, 60%, 22%);

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

HEX: #1F5A16 | RGB: rgb(31, 90, 22) | CMYK: 66%, 0%, 76%, 65% | HSV: 112°, 76%, 35%. Copy any format from the conversion table above.

What colors go well with #1F5A16?

The complementary color is HSL(292, 60%, 22%). 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, 60%, 22%) in CSS?

As HSL: color: hsl(112, 60%, 22%); — As HEX: color: #1F5A16; — As RGB: color: rgb(31, 90, 22); — Tailwind CSS: bg-[hsl(112,60%,22%)] — CSS variable: --color-primary: hsl(112, 60%, 22%);