HSL(96, 67%, 15%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(96,67%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(96, 67%, 15%) color: hsl(96, 67%, 15%)
HEX #21400D color: #21400D
RGB rgb(33, 64, 13) color: rgb(33, 64, 13)
CMYK cmyk(48%, 0%, 80%, 75%)
HSV hsv(96, 80%, 25%)
HWB hwb(96 5% 75%) color: hwb(96 5% 75%)
OKLCH oklch(0.3352 0.0853 135.65) color: oklch(0.3352 0.0853 135.65)
Lab lab(23.73 -21.92 26.31) color: lab(23.73 -21.92 26.31)
LCH lch(23.73 34.24 129.8) color: lch(23.73 34.24 129.8)

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 11.64:1
vs Black 1.8: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)

#2E2F19 — rgb(46, 47, 25)

Deuteranopia (Green-blind)

#2D2A1C — rgb(45, 42, 28)

Tritanopia (Blue-blind)

#232325 — rgb(35, 35, 37)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(96, 67%, 15%);

text

color: hsl(96, 67%, 15%);

border

border: 2px solid hsl(96, 67%, 15%);

gradient light

background: linear-gradient(to right, hsl(96, 67%, 35%), hsl(96, 67%, 15%));

gradient dark

background: linear-gradient(to right, hsl(96, 67%, 15%), hsl(96, 67%, 0%))

hex

background-color: #21400D;

tailwind

bg-[hsl(96,67%,15%)]

box shadow

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

css variable

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

HEX: #21400D | RGB: rgb(33, 64, 13) | CMYK: 48%, 0%, 80%, 75% | HSV: 96°, 80%, 25%. Copy any format from the conversion table above.

What colors go well with #21400D?

The complementary color is HSL(276, 67%, 15%). 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, 67%, 15%) in CSS?

As HSL: color: hsl(96, 67%, 15%); — As HEX: color: #21400D; — As RGB: color: rgb(33, 64, 13); — Tailwind CSS: bg-[hsl(96,67%,15%)] — CSS variable: --color-primary: hsl(96, 67%, 15%);