HSL(82, 56%, 21%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(82,56%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(82, 56%, 21%) color: hsl(82, 56%, 21%)
HEX #3E5418 color: #3E5418
RGB rgb(62, 84, 24) color: rgb(62, 84, 24)
CMYK cmyk(26%, 0%, 71%, 67%)
HSV hsv(82, 71%, 33%)
HWB hwb(82 10% 67%) color: hwb(82 10% 67%)
OKLCH oklch(0.414 0.0892 127.21) color: oklch(0.414 0.0892 127.21)
Lab lab(32.77 -18.92 31.16) color: lab(32.77 -18.92 31.16)
LCH lch(32.77 36.45 121.27) color: lch(32.77 36.45 121.27)

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 8.45:1
vs Black 2.49:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#484827 — rgb(72, 72, 39)

Deuteranopia (Green-blind)

#46452A — rgb(70, 69, 42)

Tritanopia (Blue-blind)

#3F3235 — rgb(63, 50, 53)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(82, 56%, 21%);

text

color: hsl(82, 56%, 21%);

border

border: 2px solid hsl(82, 56%, 21%);

gradient light

background: linear-gradient(to right, hsl(82, 56%, 41%), hsl(82, 56%, 21%));

gradient dark

background: linear-gradient(to right, hsl(82, 56%, 21%), hsl(82, 56%, 1%))

hex

background-color: #3E5418;

tailwind

bg-[hsl(82,56%,21%)]

box shadow

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

css variable

--color-primary: hsl(82, 56%, 21%);

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, 56%, 21%)?

HEX: #3E5418 | RGB: rgb(62, 84, 24) | CMYK: 26%, 0%, 71%, 67% | HSV: 82°, 71%, 33%. Copy any format from the conversion table above.

What colors go well with #3E5418?

The complementary color is HSL(262, 56%, 21%). 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, 56%, 21%) in CSS?

As HSL: color: hsl(82, 56%, 21%); — As HEX: color: #3E5418; — As RGB: color: rgb(62, 84, 24); — Tailwind CSS: bg-[hsl(82,56%,21%)] — CSS variable: --color-primary: hsl(82, 56%, 21%);