HSL(82, 57%, 31%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(82,57%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(82, 57%, 31%) color: hsl(82, 57%, 31%)
HEX #5B7C22 color: #5B7C22
RGB rgb(91, 124, 34) color: rgb(91, 124, 34)
CMYK cmyk(27%, 0%, 73%, 51%)
HSV hsv(82, 73%, 49%)
HWB hwb(82 13% 51%) color: hwb(82 13% 51%)
OKLCH oklch(0.5424 0.1225 127.6) color: oklch(0.5424 0.1225 127.6)
Lab lab(47.95 -26.14 43.09) color: lab(47.95 -26.14 43.09)
LCH lch(47.95 50.4 121.24) color: lch(47.95 50.4 121.24)

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.83:1
vs Black 4.35:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#696A38 — rgb(105, 106, 56)

Deuteranopia (Green-blind)

#67653D — rgb(103, 101, 61)

Tritanopia (Blue-blind)

#5D494D — rgb(93, 73, 77)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(82, 57%, 31%);

text

color: hsl(82, 57%, 31%);

border

border: 2px solid hsl(82, 57%, 31%);

gradient light

background: linear-gradient(to right, hsl(82, 57%, 51%), hsl(82, 57%, 31%));

gradient dark

background: linear-gradient(to right, hsl(82, 57%, 31%), hsl(82, 57%, 11%))

hex

background-color: #5B7C22;

tailwind

bg-[hsl(82,57%,31%)]

box shadow

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

css variable

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

HEX: #5B7C22 | RGB: rgb(91, 124, 34) | CMYK: 27%, 0%, 73%, 51% | HSV: 82°, 73%, 49%. Copy any format from the conversion table above.

What colors go well with #5B7C22?

The complementary color is HSL(262, 57%, 31%). For a triadic harmony, use hues 82°, 202°, and 322°. For analogous combinations, try hues 52° and 112°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(82, 57%, 31%) in CSS?

As HSL: color: hsl(82, 57%, 31%); — As HEX: color: #5B7C22; — As RGB: color: rgb(91, 124, 34); — Tailwind CSS: bg-[hsl(82,57%,31%)] — CSS variable: --color-primary: hsl(82, 57%, 31%);