HSL(97, 80%, 25%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(97,80%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 80%, 25%) color: hsl(97, 80%, 25%)
HEX #34730D color: #34730D
RGB rgb(52, 115, 13) color: rgb(52, 115, 13)
CMYK cmyk(55%, 0%, 89%, 55%)
HSV hsv(97, 89%, 45%)
HWB hwb(97 5% 55%) color: hwb(97 5% 55%)
OKLCH oklch(0.4943 0.1435 137.13) color: oklch(0.4943 0.1435 137.13)
Lab lab(42.79 -37.83 44.58) color: lab(42.79 -37.83 44.58)
LCH lch(42.79 58.47 130.32) color: lch(42.79 58.47 130.32)

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.83:1
vs Black 3.6: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)

#4F5026 — rgb(79, 80, 38)

Deuteranopia (Green-blind)

#4C472C — rgb(76, 71, 44)

Tritanopia (Blue-blind)

#37393D — rgb(55, 57, 61)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 80%, 25%);

text

color: hsl(97, 80%, 25%);

border

border: 2px solid hsl(97, 80%, 25%);

gradient light

background: linear-gradient(to right, hsl(97, 80%, 45%), hsl(97, 80%, 25%));

gradient dark

background: linear-gradient(to right, hsl(97, 80%, 25%), hsl(97, 80%, 5%))

hex

background-color: #34730D;

tailwind

bg-[hsl(97,80%,25%)]

box shadow

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

css variable

--color-primary: hsl(97, 80%, 25%);

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

HEX: #34730D | RGB: rgb(52, 115, 13) | CMYK: 55%, 0%, 89%, 55% | HSV: 97°, 89%, 45%. Copy any format from the conversion table above.

What colors go well with #34730D?

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

As HSL: color: hsl(97, 80%, 25%); — As HEX: color: #34730D; — As RGB: color: rgb(52, 115, 13); — Tailwind CSS: bg-[hsl(97,80%,25%)] — CSS variable: --color-primary: hsl(97, 80%, 25%);