HSL(125, 56%, 22%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(125,56%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(125, 56%, 22%) color: hsl(125, 56%, 22%)
HEX #19581E color: #19581E
RGB rgb(25, 88, 30) color: rgb(25, 88, 30)
CMYK cmyk(72%, 0%, 66%, 65%)
HSV hsv(125, 72%, 35%)
HWB hwb(125 10% 65%) color: hwb(125 10% 65%)
OKLCH oklch(0.4065 0.1101 144.41) color: oklch(0.4065 0.1101 144.41)
Lab lab(32.43 -33.06 27.31) color: lab(32.43 -33.06 27.31)
LCH lch(32.43 42.88 140.44) color: lch(32.43 42.88 140.44)

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.55:1
vs Black 2.46: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)

#34352C — rgb(52, 53, 44)

Deuteranopia (Green-blind)

#312C2F — rgb(49, 44, 47)

Tritanopia (Blue-blind)

#1C373A — rgb(28, 55, 58)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(125, 56%, 22%);

text

color: hsl(125, 56%, 22%);

border

border: 2px solid hsl(125, 56%, 22%);

gradient light

background: linear-gradient(to right, hsl(125, 56%, 42%), hsl(125, 56%, 22%));

gradient dark

background: linear-gradient(to right, hsl(125, 56%, 22%), hsl(125, 56%, 2%))

hex

background-color: #19581E;

tailwind

bg-[hsl(125,56%,22%)]

box shadow

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

css variable

--color-primary: hsl(125, 56%, 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(125, 56%, 22%)?

HEX: #19581E | RGB: rgb(25, 88, 30) | CMYK: 72%, 0%, 66%, 65% | HSV: 125°, 72%, 35%. Copy any format from the conversion table above.

What colors go well with #19581E?

The complementary color is HSL(305, 56%, 22%). For a triadic harmony, use hues 125°, 245°, and 5°. For analogous combinations, try hues 95° and 155°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(125, 56%, 22%) in CSS?

As HSL: color: hsl(125, 56%, 22%); — As HEX: color: #19581E; — As RGB: color: rgb(25, 88, 30); — Tailwind CSS: bg-[hsl(125,56%,22%)] — CSS variable: --color-primary: hsl(125, 56%, 22%);