HSL(106, 20%, 24%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(106,20%,24%)]

Color Conversions

Format Value CSS Usage
HSL hsl(106, 20%, 24%) color: hsl(106, 20%, 24%)
HEX #374931 color: #374931
RGB rgb(55, 73, 49) color: rgb(55, 73, 49)
CMYK cmyk(25%, 0%, 33%, 71%)
HSV hsv(105, 33%, 29%)
HWB hwb(105 19% 71%) color: hwb(105 19% 71%)
OKLCH oklch(0.3826 0.0457 138.02) color: oklch(0.3826 0.0457 138.02)
Lab lab(28.9 -12.49 12.13) color: lab(28.9 -12.49 12.13)
LCH lch(28.9 17.41 135.84) color: lch(28.9 17.41 135.84)

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.72:1
vs Black 2.16: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)

#3F3F37 — rgb(63, 63, 55)

Deuteranopia (Green-blind)

#3E3C38 — rgb(62, 60, 56)

Tritanopia (Blue-blind)

#383B3C — rgb(56, 59, 60)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(106, 20%, 24%);

text

color: hsl(106, 20%, 24%);

border

border: 2px solid hsl(106, 20%, 24%);

gradient light

background: linear-gradient(to right, hsl(106, 20%, 44%), hsl(106, 20%, 24%));

gradient dark

background: linear-gradient(to right, hsl(106, 20%, 24%), hsl(106, 20%, 4%))

hex

background-color: #374931;

tailwind

bg-[hsl(106,20%,24%)]

box shadow

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

css variable

--color-primary: hsl(106, 20%, 24%);

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(106, 20%, 24%)?

HEX: #374931 | RGB: rgb(55, 73, 49) | CMYK: 25%, 0%, 33%, 71% | HSV: 105°, 33%, 29%. Copy any format from the conversion table above.

What colors go well with #374931?

The complementary color is HSL(286, 20%, 24%). For a triadic harmony, use hues 106°, 226°, and 346°. For analogous combinations, try hues 76° and 136°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(106, 20%, 24%) in CSS?

As HSL: color: hsl(106, 20%, 24%); — As HEX: color: #374931; — As RGB: color: rgb(55, 73, 49); — Tailwind CSS: bg-[hsl(106,20%,24%)] — CSS variable: --color-primary: hsl(106, 20%, 24%);