HSL(97, 50%, 34%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(97,50%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 50%, 34%) color: hsl(97, 50%, 34%)
HEX #4D822B color: #4D822B
RGB rgb(77, 130, 43) color: rgb(77, 130, 43)
CMYK cmyk(41%, 0%, 67%, 49%)
HSV hsv(97, 67%, 51%)
HWB hwb(97 17% 49%) color: hwb(97 17% 49%)
OKLCH oklch(0.5503 0.1317 135.32) color: oklch(0.5503 0.1317 135.32)
Lab lab(49.15 -33.67 40.24) color: lab(49.15 -33.67 40.24)
LCH lch(49.15 52.47 129.92) color: lch(49.15 52.47 129.92)

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 4.62:1
vs Black 4.54:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: PASS ✓

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)

#646440 — rgb(100, 100, 64)

Deuteranopia (Green-blind)

#615D45 — rgb(97, 93, 69)

Tritanopia (Blue-blind)

#505154 — rgb(80, 81, 84)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 50%, 34%);

text

color: hsl(97, 50%, 34%);

border

border: 2px solid hsl(97, 50%, 34%);

gradient light

background: linear-gradient(to right, hsl(97, 50%, 54%), hsl(97, 50%, 34%));

gradient dark

background: linear-gradient(to right, hsl(97, 50%, 34%), hsl(97, 50%, 14%))

hex

background-color: #4D822B;

tailwind

bg-[hsl(97,50%,34%)]

box shadow

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

css variable

--color-primary: hsl(97, 50%, 34%);

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

HEX: #4D822B | RGB: rgb(77, 130, 43) | CMYK: 41%, 0%, 67%, 49% | HSV: 97°, 67%, 51%. Copy any format from the conversion table above.

What colors go well with #4D822B?

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

As HSL: color: hsl(97, 50%, 34%); — As HEX: color: #4D822B; — As RGB: color: rgb(77, 130, 43); — Tailwind CSS: bg-[hsl(97,50%,34%)] — CSS variable: --color-primary: hsl(97, 50%, 34%);