HSL(87, 81%, 25%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(87,81%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 81%, 25%) color: hsl(87, 81%, 25%)
HEX #45730C color: #45730C
RGB rgb(69, 115, 12) color: rgb(69, 115, 12)
CMYK cmyk(40%, 0%, 90%, 55%)
HSV hsv(87, 90%, 45%)
HWB hwb(87 5% 55%) color: hwb(87 5% 55%)
OKLCH oklch(0.503 0.1347 132.24) color: oklch(0.503 0.1347 132.24)
Lab lab(43.58 -31.92 45.83) color: lab(43.58 -31.92 45.83)
LCH lch(43.58 55.85 124.86) color: lch(43.58 55.85 124.86)

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 5.66:1
vs Black 3.71:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#595925 — rgb(89, 89, 37)

Deuteranopia (Green-blind)

#56532B — rgb(86, 83, 43)

Tritanopia (Blue-blind)

#47393D — rgb(71, 57, 61)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 81%, 25%);

text

color: hsl(87, 81%, 25%);

border

border: 2px solid hsl(87, 81%, 25%);

gradient light

background: linear-gradient(to right, hsl(87, 81%, 45%), hsl(87, 81%, 25%));

gradient dark

background: linear-gradient(to right, hsl(87, 81%, 25%), hsl(87, 81%, 5%))

hex

background-color: #45730C;

tailwind

bg-[hsl(87,81%,25%)]

box shadow

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

css variable

--color-primary: hsl(87, 81%, 25%);

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, 81%, 25%)?

HEX: #45730C | RGB: rgb(69, 115, 12) | CMYK: 40%, 0%, 90%, 55% | HSV: 87°, 90%, 45%. Copy any format from the conversion table above.

What colors go well with #45730C?

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

As HSL: color: hsl(87, 81%, 25%); — As HEX: color: #45730C; — As RGB: color: rgb(69, 115, 12); — Tailwind CSS: bg-[hsl(87,81%,25%)] — CSS variable: --color-primary: hsl(87, 81%, 25%);