HSL(87, 57%, 20%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(87,57%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 57%, 20%) color: hsl(87, 57%, 20%)
HEX #365016 color: #365016
RGB rgb(54, 80, 22) color: rgb(54, 80, 22)
CMYK cmyk(33%, 0%, 73%, 69%)
HSV hsv(87, 73%, 31%)
HWB hwb(87 8% 69%) color: hwb(87 8% 69%)
OKLCH oklch(0.3967 0.0895 130.33) color: oklch(0.3967 0.0895 130.33)
Lab lab(30.83 -20.51 29.89) color: lab(30.83 -20.51 29.89)
LCH lch(30.83 36.25 124.46) color: lch(30.83 36.25 124.46)

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 9.07:1
vs Black 2.32: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)

#414124 — rgb(65, 65, 36)

Deuteranopia (Green-blind)

#403E27 — rgb(64, 62, 39)

Tritanopia (Blue-blind)

#372F32 — rgb(55, 47, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 57%, 20%);

text

color: hsl(87, 57%, 20%);

border

border: 2px solid hsl(87, 57%, 20%);

gradient light

background: linear-gradient(to right, hsl(87, 57%, 40%), hsl(87, 57%, 20%));

gradient dark

background: linear-gradient(to right, hsl(87, 57%, 20%), hsl(87, 57%, 0%))

hex

background-color: #365016;

tailwind

bg-[hsl(87,57%,20%)]

box shadow

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

css variable

--color-primary: hsl(87, 57%, 20%);

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(87, 57%, 20%)?

HEX: #365016 | RGB: rgb(54, 80, 22) | CMYK: 33%, 0%, 73%, 69% | HSV: 87°, 73%, 31%. Copy any format from the conversion table above.

What colors go well with #365016?

The complementary color is HSL(267, 57%, 20%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(87, 57%, 20%) in CSS?

As HSL: color: hsl(87, 57%, 20%); — As HEX: color: #365016; — As RGB: color: rgb(54, 80, 22); — Tailwind CSS: bg-[hsl(87,57%,20%)] — CSS variable: --color-primary: hsl(87, 57%, 20%);