HSL(108, 20%, 27%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(108,20%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(108, 20%, 27%) color: hsl(108, 20%, 27%)
HEX #3D5337 color: #3D5337
RGB rgb(61, 83, 55) color: rgb(61, 83, 55)
CMYK cmyk(27%, 0%, 34%, 67%)
HSV hsv(107, 34%, 33%)
HWB hwb(107 22% 67%) color: hwb(107 22% 67%)
OKLCH oklch(0.4157 0.0528 139.05) color: oklch(0.4157 0.0528 139.05)
Lab lab(32.82 -14.64 13.76) color: lab(32.82 -14.64 13.76)
LCH lch(32.82 20.09 136.77) color: lch(32.82 20.09 136.77)

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 8.43:1
vs Black 2.49: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)

#47473E — rgb(71, 71, 62)

Deuteranopia (Green-blind)

#45443F — rgb(69, 68, 63)

Tritanopia (Blue-blind)

#3E4344 — rgb(62, 67, 68)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(108, 20%, 27%);

text

color: hsl(108, 20%, 27%);

border

border: 2px solid hsl(108, 20%, 27%);

gradient light

background: linear-gradient(to right, hsl(108, 20%, 47%), hsl(108, 20%, 27%));

gradient dark

background: linear-gradient(to right, hsl(108, 20%, 27%), hsl(108, 20%, 7%))

hex

background-color: #3D5337;

tailwind

bg-[hsl(108,20%,27%)]

box shadow

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

css variable

--color-primary: hsl(108, 20%, 27%);

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(108, 20%, 27%)?

HEX: #3D5337 | RGB: rgb(61, 83, 55) | CMYK: 27%, 0%, 34%, 67% | HSV: 107°, 34%, 33%. Copy any format from the conversion table above.

What colors go well with #3D5337?

The complementary color is HSL(288, 20%, 27%). For a triadic harmony, use hues 108°, 228°, and 348°. For analogous combinations, try hues 78° and 138°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(108, 20%, 27%) in CSS?

As HSL: color: hsl(108, 20%, 27%); — As HEX: color: #3D5337; — As RGB: color: rgb(61, 83, 55); — Tailwind CSS: bg-[hsl(108,20%,27%)] — CSS variable: --color-primary: hsl(108, 20%, 27%);