HSL(87, 95%, 15%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(87,95%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 95%, 15%) color: hsl(87, 95%, 15%)
HEX #2A4B02 color: #2A4B02
RGB rgb(42, 75, 2) color: rgb(42, 75, 2)
CMYK cmyk(44%, 0%, 97%, 71%)
HSV hsv(87, 97%, 29%)
HWB hwb(87 1% 71%) color: hwb(87 1% 71%)
OKLCH oklch(0.3728 0.1027 132.49) color: oklch(0.3728 0.1027 132.49)
Lab lab(28.19 -24.42 35.14) color: lab(28.19 -24.42 35.14)
LCH lch(28.19 42.79 124.8) color: lch(28.19 42.79 124.8)

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.97:1
vs Black 2.11: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)

#383914 — rgb(56, 57, 20)

Deuteranopia (Green-blind)

#363418 — rgb(54, 52, 24)

Tritanopia (Blue-blind)

#2C2225 — rgb(44, 34, 37)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 95%, 15%);

text

color: hsl(87, 95%, 15%);

border

border: 2px solid hsl(87, 95%, 15%);

gradient light

background: linear-gradient(to right, hsl(87, 95%, 35%), hsl(87, 95%, 15%));

gradient dark

background: linear-gradient(to right, hsl(87, 95%, 15%), hsl(87, 95%, 0%))

hex

background-color: #2A4B02;

tailwind

bg-[hsl(87,95%,15%)]

box shadow

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

css variable

--color-primary: hsl(87, 95%, 15%);

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, 95%, 15%)?

HEX: #2A4B02 | RGB: rgb(42, 75, 2) | CMYK: 44%, 0%, 97%, 71% | HSV: 87°, 97%, 29%. Copy any format from the conversion table above.

What colors go well with #2A4B02?

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

As HSL: color: hsl(87, 95%, 15%); — As HEX: color: #2A4B02; — As RGB: color: rgb(42, 75, 2); — Tailwind CSS: bg-[hsl(87,95%,15%)] — CSS variable: --color-primary: hsl(87, 95%, 15%);