HSL(96, 92%, 15%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(96, 92%, 15%) color: hsl(96, 92%, 15%)
HEX #1F4903 color: #1F4903
RGB rgb(31, 73, 3) color: rgb(31, 73, 3)
CMYK cmyk(58%, 0%, 96%, 71%)
HSV hsv(96, 96%, 29%)
HWB hwb(96 1% 71%) color: hwb(96 1% 71%)
OKLCH oklch(0.3608 0.1058 136.64) color: oklch(0.3608 0.1058 136.64)
Lab lab(26.91 -27.59 33.43) color: lab(26.91 -27.59 33.43)
LCH lch(26.91 43.34 129.53) color: lch(26.91 43.34 129.53)

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.43:1
vs Black 2.01: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)

#313214 — rgb(49, 50, 20)

Deuteranopia (Green-blind)

#2F2C18 — rgb(47, 44, 24)

Tritanopia (Blue-blind)

#212124 — rgb(33, 33, 36)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #1F4903;

tailwind

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

box shadow

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

css variable

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

HEX: #1F4903 | RGB: rgb(31, 73, 3) | CMYK: 58%, 0%, 96%, 71% | HSV: 96°, 96%, 29%. Copy any format from the conversion table above.

What colors go well with #1F4903?

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

As HSL: color: hsl(96, 92%, 15%); — As HEX: color: #1F4903; — As RGB: color: rgb(31, 73, 3); — Tailwind CSS: bg-[hsl(96,92%,15%)] — CSS variable: --color-primary: hsl(96, 92%, 15%);