HSL(111, 52%, 27%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(111,52%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(111, 52%, 27%) color: hsl(111, 52%, 27%)
HEX #2C6921 color: #2C6921
RGB rgb(44, 105, 33) color: rgb(44, 105, 33)
CMYK cmyk(58%, 0%, 69%, 59%)
HSV hsv(111, 69%, 41%)
HWB hwb(111 13% 59%) color: hwb(111 13% 59%)
OKLCH oklch(0.4639 0.1225 140.77) color: oklch(0.4639 0.1225 140.77)
Lab lab(39.15 -34.69 33.51) color: lab(39.15 -34.69 33.51)
LCH lch(39.15 48.23 135.99) color: lch(39.15 48.23 135.99)

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 6.67:1
vs Black 3.15:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#464732 — rgb(70, 71, 50)

Deuteranopia (Green-blind)

#433E37 — rgb(67, 62, 55)

Tritanopia (Blue-blind)

#2F4043 — rgb(47, 64, 67)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(111, 52%, 27%);

text

color: hsl(111, 52%, 27%);

border

border: 2px solid hsl(111, 52%, 27%);

gradient light

background: linear-gradient(to right, hsl(111, 52%, 47%), hsl(111, 52%, 27%));

gradient dark

background: linear-gradient(to right, hsl(111, 52%, 27%), hsl(111, 52%, 7%))

hex

background-color: #2C6921;

tailwind

bg-[hsl(111,52%,27%)]

box shadow

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

css variable

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

HEX: #2C6921 | RGB: rgb(44, 105, 33) | CMYK: 58%, 0%, 69%, 59% | HSV: 111°, 69%, 41%. Copy any format from the conversion table above.

What colors go well with #2C6921?

The complementary color is HSL(291, 52%, 27%). For a triadic harmony, use hues 111°, 231°, and 351°. For analogous combinations, try hues 81° and 141°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(111, 52%, 27%) in CSS?

As HSL: color: hsl(111, 52%, 27%); — As HEX: color: #2C6921; — As RGB: color: rgb(44, 105, 33); — Tailwind CSS: bg-[hsl(111,52%,27%)] — CSS variable: --color-primary: hsl(111, 52%, 27%);