HSL(97, 72%, 28%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(97,72%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 72%, 28%) color: hsl(97, 72%, 28%)
HEX #3B7B14 color: #3B7B14
RGB rgb(59, 123, 20) color: rgb(59, 123, 20)
CMYK cmyk(52%, 0%, 84%, 52%)
HSV hsv(97, 84%, 48%)
HWB hwb(97 8% 52%) color: hwb(97 8% 52%)
OKLCH oklch(0.5203 0.1469 136.85) color: oklch(0.5203 0.1469 136.85)
Lab lab(45.83 -38.52 45.47) color: lab(45.83 -38.52 45.47)
LCH lch(45.83 59.59 130.27) color: lch(45.83 59.59 130.27)

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.21:1
vs Black 4.03: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)

#57572D — rgb(87, 87, 45)

Deuteranopia (Green-blind)

#534E33 — rgb(83, 78, 51)

Tritanopia (Blue-blind)

#3E4145 — rgb(62, 65, 69)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 72%, 28%);

text

color: hsl(97, 72%, 28%);

border

border: 2px solid hsl(97, 72%, 28%);

gradient light

background: linear-gradient(to right, hsl(97, 72%, 48%), hsl(97, 72%, 28%));

gradient dark

background: linear-gradient(to right, hsl(97, 72%, 28%), hsl(97, 72%, 8%))

hex

background-color: #3B7B14;

tailwind

bg-[hsl(97,72%,28%)]

box shadow

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

css variable

--color-primary: hsl(97, 72%, 28%);

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

HEX: #3B7B14 | RGB: rgb(59, 123, 20) | CMYK: 52%, 0%, 84%, 52% | HSV: 97°, 84%, 48%. Copy any format from the conversion table above.

What colors go well with #3B7B14?

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

As HSL: color: hsl(97, 72%, 28%); — As HEX: color: #3B7B14; — As RGB: color: rgb(59, 123, 20); — Tailwind CSS: bg-[hsl(97,72%,28%)] — CSS variable: --color-primary: hsl(97, 72%, 28%);