HSL(102, 60%, 40%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(102,60%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(102, 60%, 40%) color: hsl(102, 60%, 40%)
HEX #4EA329 color: #4EA329
RGB rgb(78, 163, 41) color: rgb(78, 163, 41)
CMYK cmyk(52%, 0%, 75%, 36%)
HSV hsv(102, 75%, 64%)
HWB hwb(102 16% 36%) color: hwb(102 16% 36%)
OKLCH oklch(0.6383 0.1756 138.1) color: oklch(0.6383 0.1756 138.1)
Lab lab(59.86 -47.3 52.16) color: lab(59.86 -47.3 52.16)
LCH lch(59.86 70.41 132.2) color: lch(59.86 70.41 132.2)

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 3.18:1
vs Black 6.59:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#737447 — rgb(115, 116, 71)

Deuteranopia (Green-blind)

#6E684E — rgb(110, 104, 78)

Tritanopia (Blue-blind)

#525E63 — rgb(82, 94, 99)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(102, 60%, 40%);

text

color: hsl(102, 60%, 40%);

border

border: 2px solid hsl(102, 60%, 40%);

gradient light

background: linear-gradient(to right, hsl(102, 60%, 60%), hsl(102, 60%, 40%));

gradient dark

background: linear-gradient(to right, hsl(102, 60%, 40%), hsl(102, 60%, 20%))

hex

background-color: #4EA329;

tailwind

bg-[hsl(102,60%,40%)]

box shadow

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

css variable

--color-primary: hsl(102, 60%, 40%);

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(102, 60%, 40%)?

HEX: #4EA329 | RGB: rgb(78, 163, 41) | CMYK: 52%, 0%, 75%, 36% | HSV: 102°, 75%, 64%. Copy any format from the conversion table above.

What colors go well with #4EA329?

The complementary color is HSL(282, 60%, 40%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(102, 60%, 40%) in CSS?

As HSL: color: hsl(102, 60%, 40%); — As HEX: color: #4EA329; — As RGB: color: rgb(78, 163, 41); — Tailwind CSS: bg-[hsl(102,60%,40%)] — CSS variable: --color-primary: hsl(102, 60%, 40%);