HSL(121, 40%, 32%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(121, 40%, 32%) color: hsl(121, 40%, 32%)
HEX #317232 color: #317232
RGB rgb(49, 114, 50) color: rgb(49, 114, 50)
CMYK cmyk(57%, 0%, 56%, 55%)
HSV hsv(121, 57%, 45%)
HWB hwb(121 19% 55%) color: hwb(121 19% 55%)
OKLCH oklch(0.4937 0.1176 143.81) color: oklch(0.4937 0.1176 143.81)
Lab lab(42.64 -34.92 29.02) color: lab(42.64 -34.92 29.02)
LCH lch(42.64 45.4 140.27) color: lch(42.64 45.4 140.27)

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 5.86:1
vs Black 3.58:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#4D4E41 — rgb(77, 78, 65)

Deuteranopia (Green-blind)

#494545 — rgb(73, 69, 69)

Tritanopia (Blue-blind)

#344E50 — rgb(52, 78, 80)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(121, 40%, 52%), hsl(121, 40%, 32%));

gradient dark

background: linear-gradient(to right, hsl(121, 40%, 32%), hsl(121, 40%, 12%))

hex

background-color: #317232;

tailwind

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

box shadow

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

css variable

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

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, 40%, 32%)?

HEX: #317232 | RGB: rgb(49, 114, 50) | CMYK: 57%, 0%, 56%, 55% | HSV: 121°, 57%, 45%. Copy any format from the conversion table above.

What colors go well with #317232?

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

As HSL: color: hsl(121, 40%, 32%); — As HEX: color: #317232; — As RGB: color: rgb(49, 114, 50); — Tailwind CSS: bg-[hsl(121,40%,32%)] — CSS variable: --color-primary: hsl(121, 40%, 32%);