HSL(126, 71%, 19%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(126,71%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(126, 71%, 19%) color: hsl(126, 71%, 19%)
HEX #0E5315 color: #0E5315
RGB rgb(14, 83, 21) color: rgb(14, 83, 21)
CMYK cmyk(83%, 0%, 75%, 67%)
HSV hsv(126, 83%, 33%)
HWB hwb(126 6% 67%) color: hwb(126 6% 67%)
OKLCH oklch(0.3873 0.1147 144.19) color: oklch(0.3873 0.1147 144.19)
Lab lab(30.24 -34.41 29.23) color: lab(30.24 -34.41 29.23)
LCH lch(30.24 45.15 139.65) color: lch(30.24 45.15 139.65)

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 9.26:1
vs Black 2.27: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)

#2C2C24 — rgb(44, 44, 36)

Deuteranopia (Green-blind)

#282328 — rgb(40, 35, 40)

Tritanopia (Blue-blind)

#113032 — rgb(17, 48, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(126, 71%, 19%);

text

color: hsl(126, 71%, 19%);

border

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

gradient light

background: linear-gradient(to right, hsl(126, 71%, 39%), hsl(126, 71%, 19%));

gradient dark

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

hex

background-color: #0E5315;

tailwind

bg-[hsl(126,71%,19%)]

box shadow

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

css variable

--color-primary: hsl(126, 71%, 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(126, 71%, 19%)?

HEX: #0E5315 | RGB: rgb(14, 83, 21) | CMYK: 83%, 0%, 75%, 67% | HSV: 126°, 83%, 33%. Copy any format from the conversion table above.

What colors go well with #0E5315?

The complementary color is HSL(306, 71%, 19%). For a triadic harmony, use hues 126°, 246°, and 6°. For analogous combinations, try hues 96° and 156°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(126, 71%, 19%); — As HEX: color: #0E5315; — As RGB: color: rgb(14, 83, 21); — Tailwind CSS: bg-[hsl(126,71%,19%)] — CSS variable: --color-primary: hsl(126, 71%, 19%);