HSL(101, 80%, 45%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(101,80%,45%)]

Color Conversions

Format Value CSS Usage
HSL hsl(101, 80%, 45%) color: hsl(101, 80%, 45%)
HEX #51CF17 color: #51CF17
RGB rgb(81, 207, 23) color: rgb(81, 207, 23)
CMYK cmyk(61%, 0%, 89%, 19%)
HSV hsv(101, 89%, 81%)
HWB hwb(101 9% 19%) color: hwb(101 9% 19%)
OKLCH oklch(0.7536 0.2311 138.98) color: oklch(0.7536 0.2311 138.98)
Lab lab(73.83 -63.19 69.7) color: lab(73.83 -63.19 69.7)
LCH lch(73.83 94.08 132.2) color: lch(73.83 94.08 132.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.04:1
vs Black 10.29: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)

#888944 — rgb(136, 137, 68)

Deuteranopia (Green-blind)

#80774E — rgb(128, 119, 78)

Tritanopia (Blue-blind)

#57676E — rgb(87, 103, 110)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(101, 80%, 45%);

text

color: hsl(101, 80%, 45%);

border

border: 2px solid hsl(101, 80%, 45%);

gradient light

background: linear-gradient(to right, hsl(101, 80%, 65%), hsl(101, 80%, 45%));

gradient dark

background: linear-gradient(to right, hsl(101, 80%, 45%), hsl(101, 80%, 25%))

hex

background-color: #51CF17;

tailwind

bg-[hsl(101,80%,45%)]

box shadow

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

css variable

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

HEX: #51CF17 | RGB: rgb(81, 207, 23) | CMYK: 61%, 0%, 89%, 19% | HSV: 101°, 89%, 81%. Copy any format from the conversion table above.

What colors go well with #51CF17?

The complementary color is HSL(281, 80%, 45%). For a triadic harmony, use hues 101°, 221°, and 341°. For analogous combinations, try hues 71° and 131°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(101, 80%, 45%) in CSS?

As HSL: color: hsl(101, 80%, 45%); — As HEX: color: #51CF17; — As RGB: color: rgb(81, 207, 23); — Tailwind CSS: bg-[hsl(101,80%,45%)] — CSS variable: --color-primary: hsl(101, 80%, 45%);