HSL(97, 60%, 19%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(97,60%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 60%, 19%) color: hsl(97, 60%, 19%)
HEX #2A4E13 color: #2A4E13
RGB rgb(42, 78, 19) color: rgb(42, 78, 19)
CMYK cmyk(46%, 0%, 76%, 69%)
HSV hsv(97, 76%, 31%)
HWB hwb(97 7% 69%) color: hwb(97 7% 69%)
OKLCH oklch(0.3829 0.0961 135.62) color: oklch(0.3829 0.0961 135.62)
Lab lab(29.38 -24.69 29.55) color: lab(29.38 -24.69 29.55)
LCH lch(29.38 38.51 129.88) color: lch(29.38 38.51 129.88)

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 9.56:1
vs Black 2.2:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#3A3A21 — rgb(58, 58, 33)

Deuteranopia (Green-blind)

#383525 — rgb(56, 53, 37)

Tritanopia (Blue-blind)

#2C2D2F — rgb(44, 45, 47)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 60%, 19%);

text

color: hsl(97, 60%, 19%);

border

border: 2px solid hsl(97, 60%, 19%);

gradient light

background: linear-gradient(to right, hsl(97, 60%, 39%), hsl(97, 60%, 19%));

gradient dark

background: linear-gradient(to right, hsl(97, 60%, 19%), hsl(97, 60%, 0%))

hex

background-color: #2A4E13;

tailwind

bg-[hsl(97,60%,19%)]

box shadow

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

css variable

--color-primary: hsl(97, 60%, 19%);

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

HEX: #2A4E13 | RGB: rgb(42, 78, 19) | CMYK: 46%, 0%, 76%, 69% | HSV: 97°, 76%, 31%. Copy any format from the conversion table above.

What colors go well with #2A4E13?

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

As HSL: color: hsl(97, 60%, 19%); — As HEX: color: #2A4E13; — As RGB: color: rgb(42, 78, 19); — Tailwind CSS: bg-[hsl(97,60%,19%)] — CSS variable: --color-primary: hsl(97, 60%, 19%);