HSL(112, 60%, 45%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(112,60%,45%)]

Color Conversions

Format Value CSS Usage
HSL hsl(112, 60%, 45%) color: hsl(112, 60%, 45%)
HEX #40B82E color: #40B82E
RGB rgb(64, 184, 46) color: rgb(64, 184, 46)
CMYK cmyk(65%, 0%, 75%, 28%)
HSV hsv(112, 75%, 72%)
HWB hwb(112 18% 28%) color: hwb(112 18% 28%)
OKLCH oklch(0.6894 0.2035 141.28) color: oklch(0.6894 0.2035 141.28)
Lab lab(66.19 -58.12 56.53) color: lab(66.19 -58.12 56.53)
LCH lch(66.19 81.08 135.79) color: lch(66.19 81.08 135.79)

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.59:1
vs Black 8.11: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)

#74754F — rgb(116, 117, 79)

Deuteranopia (Green-blind)

#6D6457 — rgb(109, 100, 87)

Tritanopia (Blue-blind)

#466A70 — rgb(70, 106, 112)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(112, 60%, 45%);

text

color: hsl(112, 60%, 45%);

border

border: 2px solid hsl(112, 60%, 45%);

gradient light

background: linear-gradient(to right, hsl(112, 60%, 65%), hsl(112, 60%, 45%));

gradient dark

background: linear-gradient(to right, hsl(112, 60%, 45%), hsl(112, 60%, 25%))

hex

background-color: #40B82E;

tailwind

bg-[hsl(112,60%,45%)]

box shadow

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

css variable

--color-primary: hsl(112, 60%, 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(112, 60%, 45%)?

HEX: #40B82E | RGB: rgb(64, 184, 46) | CMYK: 65%, 0%, 75%, 28% | HSV: 112°, 75%, 72%. Copy any format from the conversion table above.

What colors go well with #40B82E?

The complementary color is HSL(292, 60%, 45%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(112, 60%, 45%) in CSS?

As HSL: color: hsl(112, 60%, 45%); — As HEX: color: #40B82E; — As RGB: color: rgb(64, 184, 46); — Tailwind CSS: bg-[hsl(112,60%,45%)] — CSS variable: --color-primary: hsl(112, 60%, 45%);