HSL(97, 40%, 32%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(97, 40%, 32%) color: hsl(97, 40%, 32%)
HEX #4A7231 color: #4A7231
RGB rgb(74, 114, 49) color: rgb(74, 114, 49)
CMYK cmyk(35%, 0%, 57%, 55%)
HSV hsv(97, 57%, 45%)
HWB hwb(97 19% 55%) color: hwb(97 19% 55%)
OKLCH oklch(0.5066 0.1045 134.88) color: oklch(0.5066 0.1045 134.88)
Lab lab(43.82 -26.64 31.24) color: lab(43.82 -26.64 31.24)
LCH lch(43.82 41.06 130.46) color: lch(43.82 41.06 130.46)

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 5.61:1
vs Black 3.74:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#5B5C41 — rgb(91, 92, 65)

Deuteranopia (Green-blind)

#595645 — rgb(89, 86, 69)

Tritanopia (Blue-blind)

#4C4D50 — rgb(76, 77, 80)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #4A7231;

tailwind

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

box shadow

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

css variable

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

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

HEX: #4A7231 | RGB: rgb(74, 114, 49) | CMYK: 35%, 0%, 57%, 55% | HSV: 97°, 57%, 45%. Copy any format from the conversion table above.

What colors go well with #4A7231?

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

As HSL: color: hsl(97, 40%, 32%); — As HEX: color: #4A7231; — As RGB: color: rgb(74, 114, 49); — Tailwind CSS: bg-[hsl(97,40%,32%)] — CSS variable: --color-primary: hsl(97, 40%, 32%);