HSL(102, 40%, 52%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(102, 40%, 52%) color: hsl(102, 40%, 52%)
HEX #71B654 color: #71B654
RGB rgb(113, 182, 84) color: rgb(113, 182, 84)
CMYK cmyk(38%, 0%, 54%, 29%)
HSV hsv(102, 54%, 71%)
HWB hwb(102 33% 29%) color: hwb(102 33% 29%)
OKLCH oklch(0.7082 0.1496 137.3) color: oklch(0.7082 0.1496 137.3)
Lab lab(67.73 -39.95 42.65) color: lab(67.73 -39.95 42.65)
LCH lch(67.73 58.44 133.13) color: lch(67.73 58.44 133.13)

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 2.46:1
vs Black 8.52:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8F8F6C — rgb(143, 143, 108)

Deuteranopia (Green-blind)

#8B8671 — rgb(139, 134, 113)

Tritanopia (Blue-blind)

#747E83 — rgb(116, 126, 131)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(102, 40%, 52%), hsl(102, 40%, 32%))

hex

background-color: #71B654;

tailwind

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

box shadow

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

css variable

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

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, 40%, 52%)?

HEX: #71B654 | RGB: rgb(113, 182, 84) | CMYK: 38%, 0%, 54%, 29% | HSV: 102°, 54%, 71%. Copy any format from the conversion table above.

What colors go well with #71B654?

The complementary color is HSL(282, 40%, 52%). 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, 40%, 52%) in CSS?

As HSL: color: hsl(102, 40%, 52%); — As HEX: color: #71B654; — As RGB: color: rgb(113, 182, 84); — Tailwind CSS: bg-[hsl(102,40%,52%)] — CSS variable: --color-primary: hsl(102, 40%, 52%);