HSL(122, 70%, 45%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(122,70%,45%)]

Color Conversions

Format Value CSS Usage
HSL hsl(122, 70%, 45%) color: hsl(122, 70%, 45%)
HEX #22C328 color: #22C328
RGB rgb(34, 195, 40) color: rgb(34, 195, 40)
CMYK cmyk(83%, 0%, 79%, 24%)
HSV hsv(122, 83%, 76%)
HWB hwb(122 13% 24%) color: hwb(122 13% 24%)
OKLCH oklch(0.7121 0.2266 143.05) color: oklch(0.7121 0.2266 143.05)
Lab lab(69.13 -66.8 61.12) color: lab(69.13 -66.8 61.12)
LCH lch(69.13 90.54 137.54) color: lch(69.13 90.54 137.54)

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 2.36:1
vs Black 8.9:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#68694E — rgb(104, 105, 78)

Deuteranopia (Green-blind)

#5E5257 — rgb(94, 82, 87)

Tritanopia (Blue-blind)

#2A6B72 — rgb(42, 107, 114)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(122, 70%, 45%);

text

color: hsl(122, 70%, 45%);

border

border: 2px solid hsl(122, 70%, 45%);

gradient light

background: linear-gradient(to right, hsl(122, 70%, 65%), hsl(122, 70%, 45%));

gradient dark

background: linear-gradient(to right, hsl(122, 70%, 45%), hsl(122, 70%, 25%))

hex

background-color: #22C328;

tailwind

bg-[hsl(122,70%,45%)]

box shadow

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

css variable

--color-primary: hsl(122, 70%, 45%);

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, 70%, 45%)?

HEX: #22C328 | RGB: rgb(34, 195, 40) | CMYK: 83%, 0%, 79%, 24% | HSV: 122°, 83%, 76%. Copy any format from the conversion table above.

What colors go well with #22C328?

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

As HSL: color: hsl(122, 70%, 45%); — As HEX: color: #22C328; — As RGB: color: rgb(34, 195, 40); — Tailwind CSS: bg-[hsl(122,70%,45%)] — CSS variable: --color-primary: hsl(122, 70%, 45%);