HSL(106, 45%, 31%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(106,45%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(106, 45%, 31%) color: hsl(106, 45%, 31%)
HEX #3C732B color: #3C732B
RGB rgb(60, 115, 43) color: rgb(60, 115, 43)
CMYK cmyk(48%, 0%, 63%, 55%)
HSV hsv(106, 63%, 45%)
HWB hwb(106 17% 55%) color: hwb(106 17% 55%)
OKLCH oklch(0.5006 0.1197 138.96) color: oklch(0.5006 0.1197 138.96)
Lab lab(43.35 -32.86 33.56) color: lab(43.35 -32.86 33.56)
LCH lch(43.35 46.97 134.4) color: lch(43.35 46.97 134.4)

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.71:1
vs Black 3.68: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)

#54543C — rgb(84, 84, 60)

Deuteranopia (Green-blind)

#514D41 — rgb(81, 77, 65)

Tritanopia (Blue-blind)

#3F4A4D — rgb(63, 74, 77)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(106, 45%, 31%);

text

color: hsl(106, 45%, 31%);

border

border: 2px solid hsl(106, 45%, 31%);

gradient light

background: linear-gradient(to right, hsl(106, 45%, 51%), hsl(106, 45%, 31%));

gradient dark

background: linear-gradient(to right, hsl(106, 45%, 31%), hsl(106, 45%, 11%))

hex

background-color: #3C732B;

tailwind

bg-[hsl(106,45%,31%)]

box shadow

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

css variable

--color-primary: hsl(106, 45%, 31%);

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(106, 45%, 31%)?

HEX: #3C732B | RGB: rgb(60, 115, 43) | CMYK: 48%, 0%, 63%, 55% | HSV: 106°, 63%, 45%. Copy any format from the conversion table above.

What colors go well with #3C732B?

The complementary color is HSL(286, 45%, 31%). For a triadic harmony, use hues 106°, 226°, and 346°. For analogous combinations, try hues 76° and 136°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(106, 45%, 31%) in CSS?

As HSL: color: hsl(106, 45%, 31%); — As HEX: color: #3C732B; — As RGB: color: rgb(60, 115, 43); — Tailwind CSS: bg-[hsl(106,45%,31%)] — CSS variable: --color-primary: hsl(106, 45%, 31%);