HSL(90, 50%, 50%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(90,50%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(90, 50%, 50%) color: hsl(90, 50%, 50%)
HEX #80BF40 color: #80BF40
RGB rgb(128, 191, 64) color: rgb(128, 191, 64)
CMYK cmyk(33%, 0%, 66%, 25%)
HSV hsv(90, 66%, 75%)
HWB hwb(90 26% 25%) color: hwb(90 26% 25%)
OKLCH oklch(0.7365 0.1705 132) color: oklch(0.7365 0.1705 132)
Lab lab(71.02 -40.6 55.5) color: lab(71.02 -40.6 55.5)
LCH lch(71.02 68.76 126.19) color: lch(71.02 68.76 126.19)

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.22:1
vs Black 9.44: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)

#9B9C5F — rgb(155, 156, 95)

Deuteranopia (Green-blind)

#989366 — rgb(152, 147, 102)

Tritanopia (Blue-blind)

#83777C — rgb(131, 119, 124)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(90, 50%, 50%);

text

color: hsl(90, 50%, 50%);

border

border: 2px solid hsl(90, 50%, 50%);

gradient light

background: linear-gradient(to right, hsl(90, 50%, 70%), hsl(90, 50%, 50%));

gradient dark

background: linear-gradient(to right, hsl(90, 50%, 50%), hsl(90, 50%, 30%))

hex

background-color: #80BF40;

tailwind

bg-[hsl(90,50%,50%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(90, 50%, 50%, 0.4);

css variable

--color-primary: hsl(90, 50%, 50%);

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(90, 50%, 50%)?

HEX: #80BF40 | RGB: rgb(128, 191, 64) | CMYK: 33%, 0%, 66%, 25% | HSV: 90°, 66%, 75%. Copy any format from the conversion table above.

What colors go well with #80BF40?

The complementary color is HSL(270, 50%, 50%). For a triadic harmony, use hues 90°, 210°, and 330°. For analogous combinations, try hues 60° and 120°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(90, 50%, 50%) in CSS?

As HSL: color: hsl(90, 50%, 50%); — As HEX: color: #80BF40; — As RGB: color: rgb(128, 191, 64); — Tailwind CSS: bg-[hsl(90,50%,50%)] — CSS variable: --color-primary: hsl(90, 50%, 50%);