HSL(72, 18%, 22%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(72,18%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(72, 18%, 22%) color: hsl(72, 18%, 22%)
HEX #3E422E color: #3E422E
RGB rgb(62, 66, 46) color: rgb(62, 66, 46)
CMYK cmyk(6%, 0%, 30%, 74%)
HSV hsv(72, 30%, 26%)
HWB hwb(72 18% 74%) color: hwb(72 18% 74%)
OKLCH oklch(0.3692 0.033 117.24) color: oklch(0.3692 0.033 117.24)
Lab lab(27.07 -5.73 11.66) color: lab(27.07 -5.73 11.66)
LCH lch(27.07 12.99 116.17) color: lch(27.07 12.99 116.17)

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

#404033 — rgb(64, 64, 51)

Deuteranopia (Green-blind)

#403F34 — rgb(64, 63, 52)

Tritanopia (Blue-blind)

#3E3738 — rgb(62, 55, 56)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(72, 18%, 22%);

text

color: hsl(72, 18%, 22%);

border

border: 2px solid hsl(72, 18%, 22%);

gradient light

background: linear-gradient(to right, hsl(72, 18%, 42%), hsl(72, 18%, 22%));

gradient dark

background: linear-gradient(to right, hsl(72, 18%, 22%), hsl(72, 18%, 2%))

hex

background-color: #3E422E;

tailwind

bg-[hsl(72,18%,22%)]

box shadow

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

css variable

--color-primary: hsl(72, 18%, 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(72, 18%, 22%)?

HEX: #3E422E | RGB: rgb(62, 66, 46) | CMYK: 6%, 0%, 30%, 74% | HSV: 72°, 30%, 26%. Copy any format from the conversion table above.

What colors go well with #3E422E?

The complementary color is HSL(252, 18%, 22%). For a triadic harmony, use hues 72°, 192°, and 312°. For analogous combinations, try hues 42° and 102°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(72, 18%, 22%) in CSS?

As HSL: color: hsl(72, 18%, 22%); — As HEX: color: #3E422E; — As RGB: color: rgb(62, 66, 46); — Tailwind CSS: bg-[hsl(72,18%,22%)] — CSS variable: --color-primary: hsl(72, 18%, 22%);