HSL(97, 40%, 71%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(97, 40%, 71%) color: hsl(97, 40%, 71%)
HEX #AED397 color: #AED397
RGB rgb(174, 211, 151) color: rgb(174, 211, 151)
CMYK cmyk(18%, 0%, 28%, 17%)
HSV hsv(97, 28%, 83%)
HWB hwb(97 60% 17%) color: hwb(97 60% 17%)
OKLCH oklch(0.8249 0.0902 133.81) color: oklch(0.8249 0.0902 133.81)
Lab lab(80.64 -23.03 25.82) color: lab(80.64 -23.03 25.82)
LCH lch(80.64 34.6 131.73) color: lch(80.64 34.6 131.73)

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 1.67:1
vs Black 12.56: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)

#BEBEA6 — rgb(190, 190, 166)

Deuteranopia (Green-blind)

#BCB9A9 — rgb(188, 185, 169)

Tritanopia (Blue-blind)

#B0B1B4 — rgb(176, 177, 180)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(97, 40%, 91%), hsl(97, 40%, 71%));

gradient dark

background: linear-gradient(to right, hsl(97, 40%, 71%), hsl(97, 40%, 51%))

hex

background-color: #AED397;

tailwind

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

box shadow

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

css variable

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

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

HEX: #AED397 | RGB: rgb(174, 211, 151) | CMYK: 18%, 0%, 28%, 17% | HSV: 97°, 28%, 83%. Copy any format from the conversion table above.

What colors go well with #AED397?

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

As HSL: color: hsl(97, 40%, 71%); — As HEX: color: #AED397; — As RGB: color: rgb(174, 211, 151); — Tailwind CSS: bg-[hsl(97,40%,71%)] — CSS variable: --color-primary: hsl(97, 40%, 71%);