HSL(107, 54%, 25%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(107,54%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(107, 54%, 25%) color: hsl(107, 54%, 25%)
HEX #2C621D color: #2C621D
RGB rgb(44, 98, 29) color: rgb(44, 98, 29)
CMYK cmyk(55%, 0%, 70%, 62%)
HSV hsv(107, 70%, 38%)
HWB hwb(107 11% 62%) color: hwb(107 11% 62%)
OKLCH oklch(0.4433 0.116 139.55) color: oklch(0.4433 0.116 139.55)
Lab lab(36.67 -32.13 32.68) color: lab(36.67 -32.13 32.68)
LCH lch(36.67 45.83 134.51) color: lch(36.67 45.83 134.51)

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 7.31:1
vs Black 2.87: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)

#43442E — rgb(67, 68, 46)

Deuteranopia (Green-blind)

#403C32 — rgb(64, 60, 50)

Tritanopia (Blue-blind)

#2F3B3E — rgb(47, 59, 62)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(107, 54%, 25%);

text

color: hsl(107, 54%, 25%);

border

border: 2px solid hsl(107, 54%, 25%);

gradient light

background: linear-gradient(to right, hsl(107, 54%, 45%), hsl(107, 54%, 25%));

gradient dark

background: linear-gradient(to right, hsl(107, 54%, 25%), hsl(107, 54%, 5%))

hex

background-color: #2C621D;

tailwind

bg-[hsl(107,54%,25%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(107, 54%, 25%, 0.4);

css variable

--color-primary: hsl(107, 54%, 25%);

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(107, 54%, 25%)?

HEX: #2C621D | RGB: rgb(44, 98, 29) | CMYK: 55%, 0%, 70%, 62% | HSV: 107°, 70%, 38%. Copy any format from the conversion table above.

What colors go well with #2C621D?

The complementary color is HSL(287, 54%, 25%). For a triadic harmony, use hues 107°, 227°, and 347°. For analogous combinations, try hues 77° and 137°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(107, 54%, 25%) in CSS?

As HSL: color: hsl(107, 54%, 25%); — As HEX: color: #2C621D; — As RGB: color: rgb(44, 98, 29); — Tailwind CSS: bg-[hsl(107,54%,25%)] — CSS variable: --color-primary: hsl(107, 54%, 25%);