HSL(131, 20%, 22%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(131,20%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(131, 20%, 22%) color: hsl(131, 20%, 22%)
HEX #2D4331 color: #2D4331
RGB rgb(45, 67, 49) color: rgb(45, 67, 49)
CMYK cmyk(33%, 0%, 27%, 74%)
HSV hsv(131, 33%, 26%)
HWB hwb(131 17% 74%) color: hwb(131 17% 74%)
OKLCH oklch(0.3586 0.0415 149.54) color: oklch(0.3586 0.0415 149.54)
Lab lab(26.14 -13.04 8.23) color: lab(26.14 -13.04 8.23)
LCH lch(26.14 15.42 147.74) color: lch(26.14 15.42 147.74)

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 10.72:1
vs Black 1.96: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)

#373735 — rgb(55, 55, 53)

Deuteranopia (Green-blind)

#353436 — rgb(53, 52, 54)

Tritanopia (Blue-blind)

#2E393A — rgb(46, 57, 58)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(131, 20%, 22%);

text

color: hsl(131, 20%, 22%);

border

border: 2px solid hsl(131, 20%, 22%);

gradient light

background: linear-gradient(to right, hsl(131, 20%, 42%), hsl(131, 20%, 22%));

gradient dark

background: linear-gradient(to right, hsl(131, 20%, 22%), hsl(131, 20%, 2%))

hex

background-color: #2D4331;

tailwind

bg-[hsl(131,20%,22%)]

box shadow

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

css variable

--color-primary: hsl(131, 20%, 22%);

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(131, 20%, 22%)?

HEX: #2D4331 | RGB: rgb(45, 67, 49) | CMYK: 33%, 0%, 27%, 74% | HSV: 131°, 33%, 26%. Copy any format from the conversion table above.

What colors go well with #2D4331?

The complementary color is HSL(311, 20%, 22%). For a triadic harmony, use hues 131°, 251°, and 11°. For analogous combinations, try hues 101° and 161°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(131, 20%, 22%) in CSS?

As HSL: color: hsl(131, 20%, 22%); — As HEX: color: #2D4331; — As RGB: color: rgb(45, 67, 49); — Tailwind CSS: bg-[hsl(131,20%,22%)] — CSS variable: --color-primary: hsl(131, 20%, 22%);