HSL(97, 37%, 52%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(97, 37%, 52%) color: hsl(97, 37%, 52%)
HEX #7AB257 color: #7AB257
RGB rgb(122, 178, 87) color: rgb(122, 178, 87)
CMYK cmyk(31%, 0%, 51%, 30%)
HSV hsv(97, 51%, 70%)
HWB hwb(97 34% 30%) color: hwb(97 34% 30%)
OKLCH oklch(0.7038 0.1362 134.69) color: oklch(0.7038 0.1362 134.69)
Lab lab(67.03 -34.69 40.45) color: lab(67.03 -34.69 40.45)
LCH lch(67.03 53.29 130.62) color: lch(67.03 53.29 130.62)

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.52:1
vs Black 8.33: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)

#92936D — rgb(146, 147, 109)

Deuteranopia (Green-blind)

#8F8B72 — rgb(143, 139, 114)

Tritanopia (Blue-blind)

#7D7E82 — rgb(125, 126, 130)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #7AB257;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(97, 37%, 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, 37%, 52%)?

HEX: #7AB257 | RGB: rgb(122, 178, 87) | CMYK: 31%, 0%, 51%, 30% | HSV: 97°, 51%, 70%. Copy any format from the conversion table above.

What colors go well with #7AB257?

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

As HSL: color: hsl(97, 37%, 52%); — As HEX: color: #7AB257; — As RGB: color: rgb(122, 178, 87); — Tailwind CSS: bg-[hsl(97,37%,52%)] — CSS variable: --color-primary: hsl(97, 37%, 52%);