HSL(96, 60%, 26%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(96,60%,26%)]

Color Conversions

Format Value CSS Usage
HSL hsl(96, 60%, 26%) color: hsl(96, 60%, 26%)
HEX #3A6A1B color: #3A6A1B
RGB rgb(58, 106, 27) color: rgb(58, 106, 27)
CMYK cmyk(45%, 0%, 75%, 58%)
HSV hsv(96, 75%, 42%)
HWB hwb(96 11% 58%) color: hwb(96 11% 58%)
OKLCH oklch(0.4728 0.121 135.68) color: oklch(0.4728 0.121 135.68)
Lab lab(40.06 -31.09 37.33) color: lab(40.06 -31.09 37.33)
LCH lch(40.06 48.58 129.79) color: lch(40.06 48.58 129.79)

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 6.45:1
vs Black 3.26:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#4F4F2E — rgb(79, 79, 46)

Deuteranopia (Green-blind)

#4C4833 — rgb(76, 72, 51)

Tritanopia (Blue-blind)

#3C3D41 — rgb(60, 61, 65)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(96, 60%, 26%);

text

color: hsl(96, 60%, 26%);

border

border: 2px solid hsl(96, 60%, 26%);

gradient light

background: linear-gradient(to right, hsl(96, 60%, 46%), hsl(96, 60%, 26%));

gradient dark

background: linear-gradient(to right, hsl(96, 60%, 26%), hsl(96, 60%, 6%))

hex

background-color: #3A6A1B;

tailwind

bg-[hsl(96,60%,26%)]

box shadow

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

css variable

--color-primary: hsl(96, 60%, 26%);

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, 60%, 26%)?

HEX: #3A6A1B | RGB: rgb(58, 106, 27) | CMYK: 45%, 0%, 75%, 58% | HSV: 96°, 75%, 42%. Copy any format from the conversion table above.

What colors go well with #3A6A1B?

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

As HSL: color: hsl(96, 60%, 26%); — As HEX: color: #3A6A1B; — As RGB: color: rgb(58, 106, 27); — Tailwind CSS: bg-[hsl(96,60%,26%)] — CSS variable: --color-primary: hsl(96, 60%, 26%);