HSL(121, 52%, 35%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(121,52%,35%)]

Color Conversions

Format Value CSS Usage
HSL hsl(121, 52%, 35%) color: hsl(121, 52%, 35%)
HEX #2B882C color: #2B882C
RGB rgb(43, 136, 44) color: rgb(43, 136, 44)
CMYK cmyk(68%, 0%, 68%, 47%)
HSV hsv(121, 68%, 53%)
HWB hwb(121 17% 47%) color: hwb(121 17% 47%)
OKLCH oklch(0.5526 0.1553 143.26) color: oklch(0.5526 0.1553 143.26)
Lab lab(49.86 -45.86 40.19) color: lab(49.86 -45.86 40.19)
LCH lch(49.86 60.98 138.77) color: lch(49.86 60.98 138.77)

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 4.51:1
vs Black 4.66:1

AA Normal (4.5:1)

on White: PASS ✓ 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)

#535442 — rgb(83, 84, 66)

Deuteranopia (Green-blind)

#4E4748 — rgb(78, 71, 72)

Tritanopia (Blue-blind)

#305458 — rgb(48, 84, 88)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(121, 52%, 35%);

text

color: hsl(121, 52%, 35%);

border

border: 2px solid hsl(121, 52%, 35%);

gradient light

background: linear-gradient(to right, hsl(121, 52%, 55%), hsl(121, 52%, 35%));

gradient dark

background: linear-gradient(to right, hsl(121, 52%, 35%), hsl(121, 52%, 15%))

hex

background-color: #2B882C;

tailwind

bg-[hsl(121,52%,35%)]

box shadow

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

css variable

--color-primary: hsl(121, 52%, 35%);

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, 52%, 35%)?

HEX: #2B882C | RGB: rgb(43, 136, 44) | CMYK: 68%, 0%, 68%, 47% | HSV: 121°, 68%, 53%. Copy any format from the conversion table above.

What colors go well with #2B882C?

The complementary color is HSL(301, 52%, 35%). 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, 52%, 35%) in CSS?

As HSL: color: hsl(121, 52%, 35%); — As HEX: color: #2B882C; — As RGB: color: rgb(43, 136, 44); — Tailwind CSS: bg-[hsl(121,52%,35%)] — CSS variable: --color-primary: hsl(121, 52%, 35%);