HSL(112, 40%, 51%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(112,40%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(112, 40%, 51%) color: hsl(112, 40%, 51%)
HEX #5DB450 color: #5DB450
RGB rgb(93, 180, 80) color: rgb(93, 180, 80)
CMYK cmyk(48%, 0%, 56%, 29%)
HSV hsv(112, 56%, 71%)
HWB hwb(112 31% 29%) color: hwb(112 31% 29%)
OKLCH oklch(0.6929 0.161 141.15) color: oklch(0.6929 0.161 141.15)
Lab lab(66.17 -45.89 42.5) color: lab(66.17 -45.89 42.5)
LCH lch(66.17 62.55 137.2) color: lch(66.17 62.55 137.2)

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)

#838368 — rgb(131, 131, 104)

Deuteranopia (Green-blind)

#7E776E — rgb(126, 119, 110)

Tritanopia (Blue-blind)

#617B80 — rgb(97, 123, 128)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(112, 40%, 51%);

text

color: hsl(112, 40%, 51%);

border

border: 2px solid hsl(112, 40%, 51%);

gradient light

background: linear-gradient(to right, hsl(112, 40%, 71%), hsl(112, 40%, 51%));

gradient dark

background: linear-gradient(to right, hsl(112, 40%, 51%), hsl(112, 40%, 31%))

hex

background-color: #5DB450;

tailwind

bg-[hsl(112,40%,51%)]

box shadow

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

css variable

--color-primary: hsl(112, 40%, 51%);

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

HEX: #5DB450 | RGB: rgb(93, 180, 80) | CMYK: 48%, 0%, 56%, 29% | HSV: 112°, 56%, 71%. Copy any format from the conversion table above.

What colors go well with #5DB450?

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

As HSL: color: hsl(112, 40%, 51%); — As HEX: color: #5DB450; — As RGB: color: rgb(93, 180, 80); — Tailwind CSS: bg-[hsl(112,40%,51%)] — CSS variable: --color-primary: hsl(112, 40%, 51%);