HSL(121, 58%, 40%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(121,58%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(121, 58%, 40%) color: hsl(121, 58%, 40%)
HEX #2BA12D color: #2BA12D
RGB rgb(43, 161, 45) color: rgb(43, 161, 45)
CMYK cmyk(73%, 0%, 72%, 37%)
HSV hsv(121, 73%, 63%)
HWB hwb(121 17% 37%) color: hwb(121 17% 37%)
OKLCH oklch(0.6219 0.1848 143.15) color: oklch(0.6219 0.1848 143.15)
Lab lab(58.22 -54.51 48.66) color: lab(58.22 -54.51 48.66)
LCH lch(58.22 73.07 138.25) color: lch(58.22 73.07 138.25)

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 3.37:1
vs Black 6.24:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#5E5F49 — rgb(94, 95, 73)

Deuteranopia (Green-blind)

#574E50 — rgb(87, 78, 80)

Tritanopia (Blue-blind)

#315F64 — rgb(49, 95, 100)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(121, 58%, 40%);

text

color: hsl(121, 58%, 40%);

border

border: 2px solid hsl(121, 58%, 40%);

gradient light

background: linear-gradient(to right, hsl(121, 58%, 60%), hsl(121, 58%, 40%));

gradient dark

background: linear-gradient(to right, hsl(121, 58%, 40%), hsl(121, 58%, 20%))

hex

background-color: #2BA12D;

tailwind

bg-[hsl(121,58%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(121, 58%, 40%, 0.4);

css variable

--color-primary: hsl(121, 58%, 40%);

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(121, 58%, 40%)?

HEX: #2BA12D | RGB: rgb(43, 161, 45) | CMYK: 73%, 0%, 72%, 37% | HSV: 121°, 73%, 63%. Copy any format from the conversion table above.

What colors go well with #2BA12D?

The complementary color is HSL(301, 58%, 40%). For a triadic harmony, use hues 121°, 241°, and 1°. For analogous combinations, try hues 91° and 151°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(121, 58%, 40%) in CSS?

As HSL: color: hsl(121, 58%, 40%); — As HEX: color: #2BA12D; — As RGB: color: rgb(43, 161, 45); — Tailwind CSS: bg-[hsl(121,58%,40%)] — CSS variable: --color-primary: hsl(121, 58%, 40%);