HSL(109, 42%, 21%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(109,42%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(109, 42%, 21%) color: hsl(109, 42%, 21%)
HEX #274C1F color: #274C1F
RGB rgb(39, 76, 31) color: rgb(39, 76, 31)
CMYK cmyk(49%, 0%, 59%, 70%)
HSV hsv(109, 59%, 30%)
HWB hwb(109 12% 70%) color: hwb(109 12% 70%)
OKLCH oklch(0.3769 0.0836 140.14) color: oklch(0.3769 0.0836 140.14)
Lab lab(28.64 -23.44 22.47) color: lab(28.64 -23.44 22.47)
LCH lch(28.64 32.47 136.21) color: lch(28.64 32.47 136.21)

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 9.81:1
vs Black 2.14: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)

#37372A — rgb(55, 55, 42)

Deuteranopia (Green-blind)

#35322D — rgb(53, 50, 45)

Tritanopia (Blue-blind)

#293234 — rgb(41, 50, 52)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(109, 42%, 21%);

text

color: hsl(109, 42%, 21%);

border

border: 2px solid hsl(109, 42%, 21%);

gradient light

background: linear-gradient(to right, hsl(109, 42%, 41%), hsl(109, 42%, 21%));

gradient dark

background: linear-gradient(to right, hsl(109, 42%, 21%), hsl(109, 42%, 1%))

hex

background-color: #274C1F;

tailwind

bg-[hsl(109,42%,21%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(109, 42%, 21%, 0.4);

css variable

--color-primary: hsl(109, 42%, 21%);

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(109, 42%, 21%)?

HEX: #274C1F | RGB: rgb(39, 76, 31) | CMYK: 49%, 0%, 59%, 70% | HSV: 109°, 59%, 30%. Copy any format from the conversion table above.

What colors go well with #274C1F?

The complementary color is HSL(289, 42%, 21%). For a triadic harmony, use hues 109°, 229°, and 349°. For analogous combinations, try hues 79° and 139°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(109, 42%, 21%) in CSS?

As HSL: color: hsl(109, 42%, 21%); — As HEX: color: #274C1F; — As RGB: color: rgb(39, 76, 31); — Tailwind CSS: bg-[hsl(109,42%,21%)] — CSS variable: --color-primary: hsl(109, 42%, 21%);