HSL(127, 30%, 20%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(127,30%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(127, 30%, 20%) color: hsl(127, 30%, 20%)
HEX #244227 color: #244227
RGB rgb(36, 66, 39) color: rgb(36, 66, 39)
CMYK cmyk(45%, 0%, 41%, 74%)
HSV hsv(126, 45%, 26%)
HWB hwb(126 14% 74%) color: hwb(126 14% 74%)
OKLCH oklch(0.3472 0.0588 146.46) color: oklch(0.3472 0.0588 146.46)
Lab lab(25.01 -18.01 13.02) color: lab(25.01 -18.01 13.02)
LCH lch(25.01 22.22 144.14) color: lch(25.01 22.22 144.14)

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.15:1
vs Black 1.88: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)

#31312E — rgb(49, 49, 46)

Deuteranopia (Green-blind)

#2F2D2F — rgb(47, 45, 47)

Tritanopia (Blue-blind)

#263334 — rgb(38, 51, 52)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(127, 30%, 20%);

text

color: hsl(127, 30%, 20%);

border

border: 2px solid hsl(127, 30%, 20%);

gradient light

background: linear-gradient(to right, hsl(127, 30%, 40%), hsl(127, 30%, 20%));

gradient dark

background: linear-gradient(to right, hsl(127, 30%, 20%), hsl(127, 30%, 0%))

hex

background-color: #244227;

tailwind

bg-[hsl(127,30%,20%)]

box shadow

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

css variable

--color-primary: hsl(127, 30%, 20%);

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(127, 30%, 20%)?

HEX: #244227 | RGB: rgb(36, 66, 39) | CMYK: 45%, 0%, 41%, 74% | HSV: 126°, 45%, 26%. Copy any format from the conversion table above.

What colors go well with #244227?

The complementary color is HSL(307, 30%, 20%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(127, 30%, 20%) in CSS?

As HSL: color: hsl(127, 30%, 20%); — As HEX: color: #244227; — As RGB: color: rgb(36, 66, 39); — Tailwind CSS: bg-[hsl(127,30%,20%)] — CSS variable: --color-primary: hsl(127, 30%, 20%);