HSL(87, 90%, 18%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(87,90%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 90%, 18%) color: hsl(87, 90%, 18%)
HEX #325705 color: #325705
RGB rgb(50, 87, 5) color: rgb(50, 87, 5)
CMYK cmyk(43%, 0%, 94%, 66%)
HSV hsv(87, 94%, 34%)
HWB hwb(87 2% 66%) color: hwb(87 2% 66%)
OKLCH oklch(0.4129 0.1122 132.5) color: oklch(0.4129 0.1122 132.5)
Lab lab(32.93 -26.72 38.17) color: lab(32.93 -26.72 38.17)
LCH lch(32.93 46.59 124.99) color: lch(32.93 46.59 124.99)

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.4:1
vs Black 2.5: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)

#424219 — rgb(66, 66, 25)

Deuteranopia (Green-blind)

#403D1E — rgb(64, 61, 30)

Tritanopia (Blue-blind)

#34292C — rgb(52, 41, 44)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 90%, 18%);

text

color: hsl(87, 90%, 18%);

border

border: 2px solid hsl(87, 90%, 18%);

gradient light

background: linear-gradient(to right, hsl(87, 90%, 38%), hsl(87, 90%, 18%));

gradient dark

background: linear-gradient(to right, hsl(87, 90%, 18%), hsl(87, 90%, 0%))

hex

background-color: #325705;

tailwind

bg-[hsl(87,90%,18%)]

box shadow

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

css variable

--color-primary: hsl(87, 90%, 18%);

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, 90%, 18%)?

HEX: #325705 | RGB: rgb(50, 87, 5) | CMYK: 43%, 0%, 94%, 66% | HSV: 87°, 94%, 34%. Copy any format from the conversion table above.

What colors go well with #325705?

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

As HSL: color: hsl(87, 90%, 18%); — As HEX: color: #325705; — As RGB: color: rgb(50, 87, 5); — Tailwind CSS: bg-[hsl(87,90%,18%)] — CSS variable: --color-primary: hsl(87, 90%, 18%);