HSL(101, 20%, 27%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(101, 20%, 27%) color: hsl(101, 20%, 27%)
HEX #405337 color: #405337
RGB rgb(64, 83, 55) color: rgb(64, 83, 55)
CMYK cmyk(23%, 0%, 34%, 67%)
HSV hsv(101, 34%, 33%)
HWB hwb(101 22% 67%) color: hwb(101 22% 67%)
OKLCH oklch(0.418 0.0508 135.88) color: oklch(0.418 0.0508 135.88)
Lab lab(33.03 -13.41 14.08) color: lab(33.03 -13.41 14.08)
LCH lch(33.03 19.44 133.6) color: lch(33.03 19.44 133.6)

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.36:1
vs Black 2.51: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)

#48483E — rgb(72, 72, 62)

Deuteranopia (Green-blind)

#47463F — rgb(71, 70, 63)

Tritanopia (Blue-blind)

#414344 — rgb(65, 67, 68)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #405337;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(101, 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(101, 20%, 27%)?

HEX: #405337 | RGB: rgb(64, 83, 55) | CMYK: 23%, 0%, 34%, 67% | HSV: 101°, 34%, 33%. Copy any format from the conversion table above.

What colors go well with #405337?

The complementary color is HSL(281, 20%, 27%). For a triadic harmony, use hues 101°, 221°, and 341°. For analogous combinations, try hues 71° and 131°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(101, 20%, 27%); — As HEX: color: #405337; — As RGB: color: rgb(64, 83, 55); — Tailwind CSS: bg-[hsl(101,20%,27%)] — CSS variable: --color-primary: hsl(101, 20%, 27%);