HSL(71, 16%, 16%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(71,16%,16%)]

Color Conversions

Format Value CSS Usage
HSL hsl(71, 16%, 16%) color: hsl(71, 16%, 16%)
HEX #2D2F22 color: #2D2F22
RGB rgb(45, 47, 34) color: rgb(45, 47, 34)
CMYK cmyk(4%, 0%, 28%, 82%)
HSV hsv(69, 28%, 18%)
HWB hwb(69 13% 82%) color: hwb(69 13% 82%)
OKLCH oklch(0.2989 0.0226 114.89) color: oklch(0.2989 0.0226 114.89)
Lab lab(18.83 -3.69 8.08) color: lab(18.83 -3.69 8.08)
LCH lch(18.83 8.88 114.55) color: lch(18.83 8.88 114.55)

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 13.63:1
vs Black 1.54: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)

#2E2E25 — rgb(46, 46, 37)

Deuteranopia (Green-blind)

#2E2E26 — rgb(46, 46, 38)

Tritanopia (Blue-blind)

#2D2828 — rgb(45, 40, 40)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(71, 16%, 16%);

text

color: hsl(71, 16%, 16%);

border

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

gradient light

background: linear-gradient(to right, hsl(71, 16%, 36%), hsl(71, 16%, 16%));

gradient dark

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

hex

background-color: #2D2F22;

tailwind

bg-[hsl(71,16%,16%)]

box shadow

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

css variable

--color-primary: hsl(71, 16%, 16%);

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(71, 16%, 16%)?

HEX: #2D2F22 | RGB: rgb(45, 47, 34) | CMYK: 4%, 0%, 28%, 82% | HSV: 69°, 28%, 18%. Copy any format from the conversion table above.

What colors go well with #2D2F22?

The complementary color is HSL(251, 16%, 16%). For a triadic harmony, use hues 71°, 191°, and 311°. For analogous combinations, try hues 41° and 101°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(71, 16%, 16%); — As HEX: color: #2D2F22; — As RGB: color: rgb(45, 47, 34); — Tailwind CSS: bg-[hsl(71,16%,16%)] — CSS variable: --color-primary: hsl(71, 16%, 16%);