HSL(142, 100%, 18%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(142,100%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(142, 100%, 18%) color: hsl(142, 100%, 18%)
HEX #005C22 color: #005C22
RGB rgb(0, 92, 34) color: rgb(0, 92, 34)
CMYK cmyk(100%, 0%, 63%, 64%)
HSV hsv(142, 100%, 36%)
HWB hwb(142 0% 64%) color: hwb(142 0% 64%)
OKLCH oklch(0.4142 0.1189 148.33) color: oklch(0.4142 0.1189 148.33)
Lab lab(33.5 -37.78 26.34) color: lab(33.5 -37.78 26.34)
LCH lch(33.5 46.06 145.12) color: lch(33.5 46.06 145.12)

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.22:1
vs Black 2.55: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)

#282930 — rgb(40, 41, 48)

Deuteranopia (Green-blind)

#231C33 — rgb(35, 28, 51)

Tritanopia (Blue-blind)

#053B3E — rgb(5, 59, 62)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(142, 100%, 18%);

text

color: hsl(142, 100%, 18%);

border

border: 2px solid hsl(142, 100%, 18%);

gradient light

background: linear-gradient(to right, hsl(142, 100%, 38%), hsl(142, 100%, 18%));

gradient dark

background: linear-gradient(to right, hsl(142, 100%, 18%), hsl(142, 100%, 0%))

hex

background-color: #005C22;

tailwind

bg-[hsl(142,100%,18%)]

box shadow

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

css variable

--color-primary: hsl(142, 100%, 18%);

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

HEX: #005C22 | RGB: rgb(0, 92, 34) | CMYK: 100%, 0%, 63%, 64% | HSV: 142°, 100%, 36%. Copy any format from the conversion table above.

What colors go well with #005C22?

The complementary color is HSL(322, 100%, 18%). 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, 100%, 18%) in CSS?

As HSL: color: hsl(142, 100%, 18%); — As HEX: color: #005C22; — As RGB: color: rgb(0, 92, 34); — Tailwind CSS: bg-[hsl(142,100%,18%)] — CSS variable: --color-primary: hsl(142, 100%, 18%);