HSL(97, 86%, 31%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(97,86%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 86%, 31%) color: hsl(97, 86%, 31%)
HEX #3F930B color: #3F930B
RGB rgb(63, 147, 11) color: rgb(63, 147, 11)
CMYK cmyk(57%, 0%, 93%, 42%)
HSV hsv(97, 93%, 58%)
HWB hwb(97 4% 42%) color: hwb(97 4% 42%)
OKLCH oklch(0.5877 0.1765 137.7) color: oklch(0.5877 0.1765 137.7)
Lab lab(53.97 -47.03 54.76) color: lab(53.97 -47.03 54.76)
LCH lch(53.97 72.18 130.66) color: lch(53.97 72.18 130.66)

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 3.9:1
vs Black 5.39:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#63642C — rgb(99, 100, 44)

Deuteranopia (Green-blind)

#5F5834 — rgb(95, 88, 52)

Tritanopia (Blue-blind)

#43464C — rgb(67, 70, 76)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 86%, 31%);

text

color: hsl(97, 86%, 31%);

border

border: 2px solid hsl(97, 86%, 31%);

gradient light

background: linear-gradient(to right, hsl(97, 86%, 51%), hsl(97, 86%, 31%));

gradient dark

background: linear-gradient(to right, hsl(97, 86%, 31%), hsl(97, 86%, 11%))

hex

background-color: #3F930B;

tailwind

bg-[hsl(97,86%,31%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(97, 86%, 31%, 0.4);

css variable

--color-primary: hsl(97, 86%, 31%);

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(97, 86%, 31%)?

HEX: #3F930B | RGB: rgb(63, 147, 11) | CMYK: 57%, 0%, 93%, 42% | HSV: 97°, 93%, 58%. Copy any format from the conversion table above.

What colors go well with #3F930B?

The complementary color is HSL(277, 86%, 31%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(97, 86%, 31%) in CSS?

As HSL: color: hsl(97, 86%, 31%); — As HEX: color: #3F930B; — As RGB: color: rgb(63, 147, 11); — Tailwind CSS: bg-[hsl(97,86%,31%)] — CSS variable: --color-primary: hsl(97, 86%, 31%);