HSL(80, 42%, 15%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(80,42%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(80, 42%, 15%) color: hsl(80, 42%, 15%)
HEX #2C3616 color: #2C3616
RGB rgb(44, 54, 22) color: rgb(44, 54, 22)
CMYK cmyk(19%, 0%, 59%, 79%)
HSV hsv(79, 59%, 21%)
HWB hwb(79 9% 79%) color: hwb(79 9% 79%)
OKLCH oklch(0.3149 0.0531 123.76) color: oklch(0.3149 0.0531 123.76)
Lab lab(20.95 -10.51 18.58) color: lab(20.95 -10.51 18.58)
LCH lch(20.95 21.35 119.5) color: lch(20.95 21.35 119.5)

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 12.76:1
vs Black 1.65: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)

#30301E — rgb(48, 48, 30)

Deuteranopia (Green-blind)

#302F20 — rgb(48, 47, 32)

Tritanopia (Blue-blind)

#2D2425 — rgb(45, 36, 37)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(80, 42%, 15%);

text

color: hsl(80, 42%, 15%);

border

border: 2px solid hsl(80, 42%, 15%);

gradient light

background: linear-gradient(to right, hsl(80, 42%, 35%), hsl(80, 42%, 15%));

gradient dark

background: linear-gradient(to right, hsl(80, 42%, 15%), hsl(80, 42%, 0%))

hex

background-color: #2C3616;

tailwind

bg-[hsl(80,42%,15%)]

box shadow

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

css variable

--color-primary: hsl(80, 42%, 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(80, 42%, 15%)?

HEX: #2C3616 | RGB: rgb(44, 54, 22) | CMYK: 19%, 0%, 59%, 79% | HSV: 79°, 59%, 21%. Copy any format from the conversion table above.

What colors go well with #2C3616?

The complementary color is HSL(260, 42%, 15%). For a triadic harmony, use hues 80°, 200°, and 320°. For analogous combinations, try hues 50° and 110°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(80, 42%, 15%) in CSS?

As HSL: color: hsl(80, 42%, 15%); — As HEX: color: #2C3616; — As RGB: color: rgb(44, 54, 22); — Tailwind CSS: bg-[hsl(80,42%,15%)] — CSS variable: --color-primary: hsl(80, 42%, 15%);