HSL(87, 55%, 22%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(87,55%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 55%, 22%) color: hsl(87, 55%, 22%)
HEX #3B5719 color: #3B5719
RGB rgb(59, 87, 25) color: rgb(59, 87, 25)
CMYK cmyk(32%, 0%, 71%, 66%)
HSV hsv(87, 71%, 34%)
HWB hwb(87 10% 66%) color: hwb(87 10% 66%)
OKLCH oklch(0.4202 0.0945 130.42) color: oklch(0.4202 0.0945 130.42)
Lab lab(33.6 -21.72 31.5) color: lab(33.6 -21.72 31.5)
LCH lch(33.6 38.26 124.59) color: lch(33.6 38.26 124.59)

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.19:1
vs Black 2.56: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)

#474728 — rgb(71, 71, 40)

Deuteranopia (Green-blind)

#46432C — rgb(70, 67, 44)

Tritanopia (Blue-blind)

#3C3436 — rgb(60, 52, 54)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 55%, 22%);

text

color: hsl(87, 55%, 22%);

border

border: 2px solid hsl(87, 55%, 22%);

gradient light

background: linear-gradient(to right, hsl(87, 55%, 42%), hsl(87, 55%, 22%));

gradient dark

background: linear-gradient(to right, hsl(87, 55%, 22%), hsl(87, 55%, 2%))

hex

background-color: #3B5719;

tailwind

bg-[hsl(87,55%,22%)]

box shadow

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

css variable

--color-primary: hsl(87, 55%, 22%);

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, 55%, 22%)?

HEX: #3B5719 | RGB: rgb(59, 87, 25) | CMYK: 32%, 0%, 71%, 66% | HSV: 87°, 71%, 34%. Copy any format from the conversion table above.

What colors go well with #3B5719?

The complementary color is HSL(267, 55%, 22%). 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, 55%, 22%) in CSS?

As HSL: color: hsl(87, 55%, 22%); — As HEX: color: #3B5719; — As RGB: color: rgb(59, 87, 25); — Tailwind CSS: bg-[hsl(87,55%,22%)] — CSS variable: --color-primary: hsl(87, 55%, 22%);