HSL(107, 60%, 28%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(107,60%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(107, 60%, 28%) color: hsl(107, 60%, 28%)
HEX #2F721D color: #2F721D
RGB rgb(47, 114, 29) color: rgb(47, 114, 29)
CMYK cmyk(59%, 0%, 75%, 55%)
HSV hsv(107, 75%, 45%)
HWB hwb(107 11% 55%) color: hwb(107 11% 55%)
OKLCH oklch(0.4904 0.1362 139.84) color: oklch(0.4904 0.1362 139.84)
Lab lab(42.35 -37.9 38.7) color: lab(42.35 -37.9 38.7)
LCH lch(42.35 54.17 134.4) color: lch(42.35 54.17 134.4)

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 5.92:1
vs Black 3.55: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)

#4C4D32 — rgb(76, 77, 50)

Deuteranopia (Green-blind)

#484337 — rgb(72, 67, 55)

Tritanopia (Blue-blind)

#324245 — rgb(50, 66, 69)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(107, 60%, 28%);

text

color: hsl(107, 60%, 28%);

border

border: 2px solid hsl(107, 60%, 28%);

gradient light

background: linear-gradient(to right, hsl(107, 60%, 48%), hsl(107, 60%, 28%));

gradient dark

background: linear-gradient(to right, hsl(107, 60%, 28%), hsl(107, 60%, 8%))

hex

background-color: #2F721D;

tailwind

bg-[hsl(107,60%,28%)]

box shadow

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

css variable

--color-primary: hsl(107, 60%, 28%);

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, 60%, 28%)?

HEX: #2F721D | RGB: rgb(47, 114, 29) | CMYK: 59%, 0%, 75%, 55% | HSV: 107°, 75%, 45%. Copy any format from the conversion table above.

What colors go well with #2F721D?

The complementary color is HSL(287, 60%, 28%). 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, 60%, 28%) in CSS?

As HSL: color: hsl(107, 60%, 28%); — As HEX: color: #2F721D; — As RGB: color: rgb(47, 114, 29); — Tailwind CSS: bg-[hsl(107,60%,28%)] — CSS variable: --color-primary: hsl(107, 60%, 28%);