HSL(122, 42%, 17%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(122,42%,17%)]

Color Conversions

Format Value CSS Usage
HSL hsl(122, 42%, 17%) color: hsl(122, 42%, 17%)
HEX #193E1A color: #193E1A
RGB rgb(25, 62, 26) color: rgb(25, 62, 26)
CMYK cmyk(60%, 0%, 58%, 76%)
HSV hsv(122, 60%, 24%)
HWB hwb(122 10% 76%) color: hwb(122 10% 76%)
OKLCH oklch(0.3265 0.0744 144.13) color: oklch(0.3265 0.0744 144.13)
Lab lab(22.75 -22.18 18.08) color: lab(22.75 -22.18 18.08)
LCH lch(22.75 28.62 140.81) color: lch(22.75 28.62 140.81)

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 12.03:1
vs Black 1.75: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)

#292923 — rgb(41, 41, 35)

Deuteranopia (Green-blind)

#272425 — rgb(39, 36, 37)

Tritanopia (Blue-blind)

#1B2A2B — rgb(27, 42, 43)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(122, 42%, 17%);

text

color: hsl(122, 42%, 17%);

border

border: 2px solid hsl(122, 42%, 17%);

gradient light

background: linear-gradient(to right, hsl(122, 42%, 37%), hsl(122, 42%, 17%));

gradient dark

background: linear-gradient(to right, hsl(122, 42%, 17%), hsl(122, 42%, 0%))

hex

background-color: #193E1A;

tailwind

bg-[hsl(122,42%,17%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(122, 42%, 17%, 0.4);

css variable

--color-primary: hsl(122, 42%, 17%);

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(122, 42%, 17%)?

HEX: #193E1A | RGB: rgb(25, 62, 26) | CMYK: 60%, 0%, 58%, 76% | HSV: 122°, 60%, 24%. Copy any format from the conversion table above.

What colors go well with #193E1A?

The complementary color is HSL(302, 42%, 17%). For a triadic harmony, use hues 122°, 242°, and 2°. For analogous combinations, try hues 92° and 152°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(122, 42%, 17%) in CSS?

As HSL: color: hsl(122, 42%, 17%); — As HEX: color: #193E1A; — As RGB: color: rgb(25, 62, 26); — Tailwind CSS: bg-[hsl(122,42%,17%)] — CSS variable: --color-primary: hsl(122, 42%, 17%);