HSL(97, 57%, 16%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(97,57%,16%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 57%, 16%) color: hsl(97, 57%, 16%)
HEX #234012 color: #234012
RGB rgb(35, 64, 18) color: rgb(35, 64, 18)
CMYK cmyk(45%, 0%, 72%, 75%)
HSV hsv(98, 72%, 25%)
HWB hwb(98 7% 75%) color: hwb(98 7% 75%)
OKLCH oklch(0.337 0.0798 135.81) color: oklch(0.337 0.0798 135.81)
Lab lab(23.89 -20.62 24.05) color: lab(23.89 -20.62 24.05)
LCH lch(23.89 31.68 130.61) color: lch(23.89 31.68 130.61)

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 11.58:1
vs Black 1.81: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)

#30301D — rgb(48, 48, 29)

Deuteranopia (Green-blind)

#2E2C20 — rgb(46, 44, 32)

Tritanopia (Blue-blind)

#242628 — rgb(36, 38, 40)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 57%, 16%);

text

color: hsl(97, 57%, 16%);

border

border: 2px solid hsl(97, 57%, 16%);

gradient light

background: linear-gradient(to right, hsl(97, 57%, 36%), hsl(97, 57%, 16%));

gradient dark

background: linear-gradient(to right, hsl(97, 57%, 16%), hsl(97, 57%, 0%))

hex

background-color: #234012;

tailwind

bg-[hsl(97,57%,16%)]

box shadow

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

css variable

--color-primary: hsl(97, 57%, 16%);

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

HEX: #234012 | RGB: rgb(35, 64, 18) | CMYK: 45%, 0%, 72%, 75% | HSV: 98°, 72%, 25%. Copy any format from the conversion table above.

What colors go well with #234012?

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

As HSL: color: hsl(97, 57%, 16%); — As HEX: color: #234012; — As RGB: color: rgb(35, 64, 18); — Tailwind CSS: bg-[hsl(97,57%,16%)] — CSS variable: --color-primary: hsl(97, 57%, 16%);