HSL(95, 30%, 18%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(95,30%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(95, 30%, 18%) color: hsl(95, 30%, 18%)
HEX #2C3C20 color: #2C3C20
RGB rgb(44, 60, 32) color: rgb(44, 60, 32)
CMYK cmyk(27%, 0%, 47%, 76%)
HSV hsv(94, 47%, 24%)
HWB hwb(94 13% 76%) color: hwb(94 13% 76%)
OKLCH oklch(0.3339 0.051 132.8) color: oklch(0.3339 0.051 132.8)
Lab lab(23.24 -12.63 15.24) color: lab(23.24 -12.63 15.24)
LCH lch(23.24 19.79 129.65) color: lch(23.24 19.79 129.65)

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.84:1
vs Black 1.77: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)

#333327 — rgb(51, 51, 39)

Deuteranopia (Green-blind)

#323128 — rgb(50, 49, 40)

Tritanopia (Blue-blind)

#2D2C2D — rgb(45, 44, 45)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(95, 30%, 18%);

text

color: hsl(95, 30%, 18%);

border

border: 2px solid hsl(95, 30%, 18%);

gradient light

background: linear-gradient(to right, hsl(95, 30%, 38%), hsl(95, 30%, 18%));

gradient dark

background: linear-gradient(to right, hsl(95, 30%, 18%), hsl(95, 30%, 0%))

hex

background-color: #2C3C20;

tailwind

bg-[hsl(95,30%,18%)]

box shadow

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

css variable

--color-primary: hsl(95, 30%, 18%);

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(95, 30%, 18%)?

HEX: #2C3C20 | RGB: rgb(44, 60, 32) | CMYK: 27%, 0%, 47%, 76% | HSV: 94°, 47%, 24%. Copy any format from the conversion table above.

What colors go well with #2C3C20?

The complementary color is HSL(275, 30%, 18%). For a triadic harmony, use hues 95°, 215°, and 335°. For analogous combinations, try hues 65° and 125°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(95, 30%, 18%) in CSS?

As HSL: color: hsl(95, 30%, 18%); — As HEX: color: #2C3C20; — As RGB: color: rgb(44, 60, 32); — Tailwind CSS: bg-[hsl(95,30%,18%)] — CSS variable: --color-primary: hsl(95, 30%, 18%);