HSL(72, 16%, 15%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(72,16%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(72, 16%, 15%) color: hsl(72, 16%, 15%)
HEX #2A2C20 color: #2A2C20
RGB rgb(42, 44, 32) color: rgb(42, 44, 32)
CMYK cmyk(5%, 0%, 27%, 83%)
HSV hsv(70, 27%, 17%)
HWB hwb(70 12% 83%) color: hwb(70 12% 83%)
OKLCH oklch(0.2871 0.0212 115.44) color: oklch(0.2871 0.0212 115.44)
Lab lab(17.45 -3.52 7.51) color: lab(17.45 -3.52 7.51)
LCH lch(17.45 8.29 115.11) color: lch(17.45 8.29 115.11)

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 14.19:1
vs Black 1.48: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)

#2B2B23 — rgb(43, 43, 35)

Deuteranopia (Green-blind)

#2B2B24 — rgb(43, 43, 36)

Tritanopia (Blue-blind)

#2A2526 — rgb(42, 37, 38)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(72, 16%, 15%);

text

color: hsl(72, 16%, 15%);

border

border: 2px solid hsl(72, 16%, 15%);

gradient light

background: linear-gradient(to right, hsl(72, 16%, 35%), hsl(72, 16%, 15%));

gradient dark

background: linear-gradient(to right, hsl(72, 16%, 15%), hsl(72, 16%, 0%))

hex

background-color: #2A2C20;

tailwind

bg-[hsl(72,16%,15%)]

box shadow

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

css variable

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

HEX: #2A2C20 | RGB: rgb(42, 44, 32) | CMYK: 5%, 0%, 27%, 83% | HSV: 70°, 27%, 17%. Copy any format from the conversion table above.

What colors go well with #2A2C20?

The complementary color is HSL(252, 16%, 15%). For a triadic harmony, use hues 72°, 192°, and 312°. For analogous combinations, try hues 42° and 102°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(72, 16%, 15%) in CSS?

As HSL: color: hsl(72, 16%, 15%); — As HEX: color: #2A2C20; — As RGB: color: rgb(42, 44, 32); — Tailwind CSS: bg-[hsl(72,16%,15%)] — CSS variable: --color-primary: hsl(72, 16%, 15%);