HSL(104, 80%, 31%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(104,80%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(104, 80%, 31%) color: hsl(104, 80%, 31%)
HEX #328E10 color: #328E10
RGB rgb(50, 142, 16) color: rgb(50, 142, 16)
CMYK cmyk(65%, 0%, 89%, 44%)
HSV hsv(104, 89%, 56%)
HWB hwb(104 6% 44%) color: hwb(104 6% 44%)
OKLCH oklch(0.5695 0.175 139.6) color: oklch(0.5695 0.175 139.6)
Lab lab(51.91 -48.43 51.84) color: lab(51.91 -48.43 51.84)
LCH lch(51.91 70.94 133.05) color: lch(51.91 70.94 133.05)

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 4.19:1
vs Black 5.01:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#5A5B2E — rgb(90, 91, 46)

Deuteranopia (Green-blind)

#554E36 — rgb(85, 78, 54)

Tritanopia (Blue-blind)

#37474C — rgb(55, 71, 76)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(104, 80%, 31%);

text

color: hsl(104, 80%, 31%);

border

border: 2px solid hsl(104, 80%, 31%);

gradient light

background: linear-gradient(to right, hsl(104, 80%, 51%), hsl(104, 80%, 31%));

gradient dark

background: linear-gradient(to right, hsl(104, 80%, 31%), hsl(104, 80%, 11%))

hex

background-color: #328E10;

tailwind

bg-[hsl(104,80%,31%)]

box shadow

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

css variable

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

HEX: #328E10 | RGB: rgb(50, 142, 16) | CMYK: 65%, 0%, 89%, 44% | HSV: 104°, 89%, 56%. Copy any format from the conversion table above.

What colors go well with #328E10?

The complementary color is HSL(284, 80%, 31%). For a triadic harmony, use hues 104°, 224°, and 344°. For analogous combinations, try hues 74° and 134°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(104, 80%, 31%) in CSS?

As HSL: color: hsl(104, 80%, 31%); — As HEX: color: #328E10; — As RGB: color: rgb(50, 142, 16); — Tailwind CSS: bg-[hsl(104,80%,31%)] — CSS variable: --color-primary: hsl(104, 80%, 31%);