HSL(97, 81%, 38%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(97,81%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 81%, 38%) color: hsl(97, 81%, 38%)
HEX #4FAF12 color: #4FAF12
RGB rgb(79, 175, 18) color: rgb(79, 175, 18)
CMYK cmyk(55%, 0%, 90%, 31%)
HSV hsv(97, 90%, 69%)
HWB hwb(97 7% 31%) color: hwb(97 7% 31%)
OKLCH oklch(0.6692 0.1988 137.4) color: oklch(0.6692 0.1988 137.4)
Lab lab(63.64 -52.67 61.91) color: lab(63.64 -52.67 61.91)
LCH lch(63.64 81.28 130.39) color: lch(63.64 81.28 130.39)

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 2.81:1
vs Black 7.47:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#797938 — rgb(121, 121, 56)

Deuteranopia (Green-blind)

#736C41 — rgb(115, 108, 65)

Tritanopia (Blue-blind)

#54565D — rgb(84, 86, 93)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 81%, 38%);

text

color: hsl(97, 81%, 38%);

border

border: 2px solid hsl(97, 81%, 38%);

gradient light

background: linear-gradient(to right, hsl(97, 81%, 58%), hsl(97, 81%, 38%));

gradient dark

background: linear-gradient(to right, hsl(97, 81%, 38%), hsl(97, 81%, 18%))

hex

background-color: #4FAF12;

tailwind

bg-[hsl(97,81%,38%)]

box shadow

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

css variable

--color-primary: hsl(97, 81%, 38%);

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, 81%, 38%)?

HEX: #4FAF12 | RGB: rgb(79, 175, 18) | CMYK: 55%, 0%, 90%, 31% | HSV: 97°, 90%, 69%. Copy any format from the conversion table above.

What colors go well with #4FAF12?

The complementary color is HSL(277, 81%, 38%). 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, 81%, 38%) in CSS?

As HSL: color: hsl(97, 81%, 38%); — As HEX: color: #4FAF12; — As RGB: color: rgb(79, 175, 18); — Tailwind CSS: bg-[hsl(97,81%,38%)] — CSS variable: --color-primary: hsl(97, 81%, 38%);