HSL(122, 63%, 22%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(122,63%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(122, 63%, 22%) color: hsl(122, 63%, 22%)
HEX #155B17 color: #155B17
RGB rgb(21, 91, 23) color: rgb(21, 91, 23)
CMYK cmyk(77%, 0%, 75%, 64%)
HSV hsv(122, 77%, 36%)
HWB hwb(122 8% 64%) color: hwb(122 8% 64%)
OKLCH oklch(0.4137 0.1214 143.34) color: oklch(0.4137 0.1214 143.34)
Lab lab(33.36 -35.91 31.67) color: lab(33.36 -35.91 31.67)
LCH lch(33.36 47.88 138.59) color: lch(33.36 47.88 138.59)

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.27:1
vs Black 2.54: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)

#333427 — rgb(51, 52, 39)

Deuteranopia (Green-blind)

#2F2A2B — rgb(47, 42, 43)

Tritanopia (Blue-blind)

#193437 — rgb(25, 52, 55)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(122, 63%, 22%);

text

color: hsl(122, 63%, 22%);

border

border: 2px solid hsl(122, 63%, 22%);

gradient light

background: linear-gradient(to right, hsl(122, 63%, 42%), hsl(122, 63%, 22%));

gradient dark

background: linear-gradient(to right, hsl(122, 63%, 22%), hsl(122, 63%, 2%))

hex

background-color: #155B17;

tailwind

bg-[hsl(122,63%,22%)]

box shadow

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

css variable

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

HEX: #155B17 | RGB: rgb(21, 91, 23) | CMYK: 77%, 0%, 75%, 64% | HSV: 122°, 77%, 36%. Copy any format from the conversion table above.

What colors go well with #155B17?

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

As HSL: color: hsl(122, 63%, 22%); — As HEX: color: #155B17; — As RGB: color: rgb(21, 91, 23); — Tailwind CSS: bg-[hsl(122,63%,22%)] — CSS variable: --color-primary: hsl(122, 63%, 22%);