HSL(117, 31%, 20%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(117, 31%, 20%) color: hsl(117, 31%, 20%)
HEX #254323 color: #254323
RGB rgb(37, 67, 35) color: rgb(37, 67, 35)
CMYK cmyk(45%, 0%, 48%, 74%)
HSV hsv(116, 48%, 26%)
HWB hwb(116 14% 74%) color: hwb(116 14% 74%)
OKLCH oklch(0.3499 0.0649 142.71) color: oklch(0.3499 0.0649 142.71)
Lab lab(25.35 -18.93 15.99) color: lab(25.35 -18.93 15.99)
LCH lch(25.35 24.78 139.81) color: lch(25.35 24.78 139.81)

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.02:1
vs Black 1.91: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)

#32322B — rgb(50, 50, 43)

Deuteranopia (Green-blind)

#302E2D — rgb(48, 46, 45)

Tritanopia (Blue-blind)

#273132 — rgb(39, 49, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(117, 31%, 40%), hsl(117, 31%, 20%));

gradient dark

background: linear-gradient(to right, hsl(117, 31%, 20%), hsl(117, 31%, 0%))

hex

background-color: #254323;

tailwind

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

box shadow

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

css variable

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

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, 31%, 20%)?

HEX: #254323 | RGB: rgb(37, 67, 35) | CMYK: 45%, 0%, 48%, 74% | HSV: 116°, 48%, 26%. Copy any format from the conversion table above.

What colors go well with #254323?

The complementary color is HSL(297, 31%, 20%). 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, 31%, 20%) in CSS?

As HSL: color: hsl(117, 31%, 20%); — As HEX: color: #254323; — As RGB: color: rgb(37, 67, 35); — Tailwind CSS: bg-[hsl(117,31%,20%)] — CSS variable: --color-primary: hsl(117, 31%, 20%);