HSL(97, 40%, 52%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(97,40%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 40%, 52%) color: hsl(97, 40%, 52%)
HEX #79B654 color: #79B654
RGB rgb(121, 182, 84) color: rgb(121, 182, 84)
CMYK cmyk(34%, 0%, 54%, 29%)
HSV hsv(97, 54%, 71%)
HWB hwb(97 33% 29%) color: hwb(97 33% 29%)
OKLCH oklch(0.7126 0.1453 135.04) color: oklch(0.7126 0.1453 135.04)
Lab lab(68.14 -37.21 43.24) color: lab(68.14 -37.21 43.24)
LCH lch(68.14 57.05 130.71) color: lch(68.14 57.05 130.71)

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

#93946C — rgb(147, 148, 108)

Deuteranopia (Green-blind)

#908B71 — rgb(144, 139, 113)

Tritanopia (Blue-blind)

#7C7E83 — rgb(124, 126, 131)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 40%, 52%);

text

color: hsl(97, 40%, 52%);

border

border: 2px solid hsl(97, 40%, 52%);

gradient light

background: linear-gradient(to right, hsl(97, 40%, 72%), hsl(97, 40%, 52%));

gradient dark

background: linear-gradient(to right, hsl(97, 40%, 52%), hsl(97, 40%, 32%))

hex

background-color: #79B654;

tailwind

bg-[hsl(97,40%,52%)]

box shadow

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

css variable

--color-primary: hsl(97, 40%, 52%);

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, 40%, 52%)?

HEX: #79B654 | RGB: rgb(121, 182, 84) | CMYK: 34%, 0%, 54%, 29% | HSV: 97°, 54%, 71%. Copy any format from the conversion table above.

What colors go well with #79B654?

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

As HSL: color: hsl(97, 40%, 52%); — As HEX: color: #79B654; — As RGB: color: rgb(121, 182, 84); — Tailwind CSS: bg-[hsl(97,40%,52%)] — CSS variable: --color-primary: hsl(97, 40%, 52%);