HSL(96, 50%, 19%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(96,50%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(96, 50%, 19%) color: hsl(96, 50%, 19%)
HEX #2C4918 color: #2C4918
RGB rgb(44, 73, 24) color: rgb(44, 73, 24)
CMYK cmyk(40%, 0%, 67%, 71%)
HSV hsv(96, 67%, 29%)
HWB hwb(96 10% 71%) color: hwb(96 10% 71%)
OKLCH oklch(0.3701 0.0828 134.53) color: oklch(0.3701 0.0828 134.53)
Lab lab(27.75 -20.9 25.34) color: lab(27.75 -20.9 25.34)
LCH lch(27.75 32.85 129.52) color: lch(27.75 32.85 129.52)

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 10.13:1
vs Black 2.07: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)

#393924 — rgb(57, 57, 36)

Deuteranopia (Green-blind)

#373527 — rgb(55, 53, 39)

Tritanopia (Blue-blind)

#2D2D2F — rgb(45, 45, 47)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(96, 50%, 19%);

text

color: hsl(96, 50%, 19%);

border

border: 2px solid hsl(96, 50%, 19%);

gradient light

background: linear-gradient(to right, hsl(96, 50%, 39%), hsl(96, 50%, 19%));

gradient dark

background: linear-gradient(to right, hsl(96, 50%, 19%), hsl(96, 50%, 0%))

hex

background-color: #2C4918;

tailwind

bg-[hsl(96,50%,19%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(96, 50%, 19%, 0.4);

css variable

--color-primary: hsl(96, 50%, 19%);

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(96, 50%, 19%)?

HEX: #2C4918 | RGB: rgb(44, 73, 24) | CMYK: 40%, 0%, 67%, 71% | HSV: 96°, 67%, 29%. Copy any format from the conversion table above.

What colors go well with #2C4918?

The complementary color is HSL(276, 50%, 19%). For a triadic harmony, use hues 96°, 216°, and 336°. For analogous combinations, try hues 66° and 126°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(96, 50%, 19%) in CSS?

As HSL: color: hsl(96, 50%, 19%); — As HEX: color: #2C4918; — As RGB: color: rgb(44, 73, 24); — Tailwind CSS: bg-[hsl(96,50%,19%)] — CSS variable: --color-primary: hsl(96, 50%, 19%);