HSL(117, 54%, 31%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(117,54%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(117, 54%, 31%) color: hsl(117, 54%, 31%)
HEX #297A24 color: #297A24
RGB rgb(41, 122, 36) color: rgb(41, 122, 36)
CMYK cmyk(66%, 0%, 70%, 52%)
HSV hsv(117, 70%, 48%)
HWB hwb(117 14% 52%) color: hwb(117 14% 52%)
OKLCH oklch(0.5117 0.1442 142.3) color: oklch(0.5117 0.1442 142.3)
Lab lab(44.97 -41.92 38.41) color: lab(44.97 -41.92 38.41)
LCH lch(44.97 56.86 137.5) color: lch(44.97 56.86 137.5)

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.38:1
vs Black 3.9: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)

#4C4D39 — rgb(76, 77, 57)

Deuteranopia (Green-blind)

#47413E — rgb(71, 65, 62)

Tritanopia (Blue-blind)

#2D494D — rgb(45, 73, 77)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(117, 54%, 31%);

text

color: hsl(117, 54%, 31%);

border

border: 2px solid hsl(117, 54%, 31%);

gradient light

background: linear-gradient(to right, hsl(117, 54%, 51%), hsl(117, 54%, 31%));

gradient dark

background: linear-gradient(to right, hsl(117, 54%, 31%), hsl(117, 54%, 11%))

hex

background-color: #297A24;

tailwind

bg-[hsl(117,54%,31%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(117, 54%, 31%, 0.4);

css variable

--color-primary: hsl(117, 54%, 31%);

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(117, 54%, 31%)?

HEX: #297A24 | RGB: rgb(41, 122, 36) | CMYK: 66%, 0%, 70%, 52% | HSV: 117°, 70%, 48%. Copy any format from the conversion table above.

What colors go well with #297A24?

The complementary color is HSL(297, 54%, 31%). For a triadic harmony, use hues 117°, 237°, and 357°. For analogous combinations, try hues 87° and 147°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(117, 54%, 31%) in CSS?

As HSL: color: hsl(117, 54%, 31%); — As HEX: color: #297A24; — As RGB: color: rgb(41, 122, 36); — Tailwind CSS: bg-[hsl(117,54%,31%)] — CSS variable: --color-primary: hsl(117, 54%, 31%);