HSL(81, 94%, 15%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(81,94%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(81, 94%, 15%) color: hsl(81, 94%, 15%)
HEX #314A02 color: #314A02
RGB rgb(49, 74, 2) color: rgb(49, 74, 2)
CMYK cmyk(34%, 0%, 97%, 71%)
HSV hsv(81, 97%, 29%)
HWB hwb(81 1% 71%) color: hwb(81 1% 71%)
OKLCH oklch(0.3745 0.0971 128.51) color: oklch(0.3745 0.0971 128.51)
Lab lab(28.26 -20.92 35.38) color: lab(28.26 -20.92 35.38)
LCH lch(28.26 41.1 120.6) color: lch(28.26 41.1 120.6)

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.95:1
vs Black 2.11: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)

#3C3C13 — rgb(60, 60, 19)

Deuteranopia (Green-blind)

#3A3918 — rgb(58, 57, 24)

Tritanopia (Blue-blind)

#322124 — rgb(50, 33, 36)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(81, 94%, 15%);

text

color: hsl(81, 94%, 15%);

border

border: 2px solid hsl(81, 94%, 15%);

gradient light

background: linear-gradient(to right, hsl(81, 94%, 35%), hsl(81, 94%, 15%));

gradient dark

background: linear-gradient(to right, hsl(81, 94%, 15%), hsl(81, 94%, 0%))

hex

background-color: #314A02;

tailwind

bg-[hsl(81,94%,15%)]

box shadow

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

css variable

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

HEX: #314A02 | RGB: rgb(49, 74, 2) | CMYK: 34%, 0%, 97%, 71% | HSV: 81°, 97%, 29%. Copy any format from the conversion table above.

What colors go well with #314A02?

The complementary color is HSL(261, 94%, 15%). For a triadic harmony, use hues 81°, 201°, and 321°. For analogous combinations, try hues 51° and 111°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(81, 94%, 15%) in CSS?

As HSL: color: hsl(81, 94%, 15%); — As HEX: color: #314A02; — As RGB: color: rgb(49, 74, 2); — Tailwind CSS: bg-[hsl(81,94%,15%)] — CSS variable: --color-primary: hsl(81, 94%, 15%);