HSL(96, 40%, 52%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(96, 40%, 52%) color: hsl(96, 40%, 52%)
HEX #7BB654 color: #7BB654
RGB rgb(123, 182, 84) color: rgb(123, 182, 84)
CMYK cmyk(32%, 0%, 54%, 29%)
HSV hsv(96, 54%, 71%)
HWB hwb(96 33% 29%) color: hwb(96 33% 29%)
OKLCH oklch(0.7138 0.1443 134.44) color: oklch(0.7138 0.1443 134.44)
Lab lab(68.25 -36.5 43.39) color: lab(68.25 -36.5 43.39)
LCH lch(68.25 56.7 130.07) color: lch(68.25 56.7 130.07)

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.42:1
vs Black 8.66: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)

#95956C — rgb(149, 149, 108)

Deuteranopia (Green-blind)

#918D71 — rgb(145, 141, 113)

Tritanopia (Blue-blind)

#7E7E83 — rgb(126, 126, 131)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #7BB654;

tailwind

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

box shadow

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

css variable

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

HEX: #7BB654 | RGB: rgb(123, 182, 84) | CMYK: 32%, 0%, 54%, 29% | HSV: 96°, 54%, 71%. Copy any format from the conversion table above.

What colors go well with #7BB654?

The complementary color is HSL(276, 40%, 52%). For a triadic harmony, use hues 96°, 216°, and 336°. For analogous combinations, try hues 66° and 126°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(96, 40%, 52%) in CSS?

As HSL: color: hsl(96, 40%, 52%); — As HEX: color: #7BB654; — As RGB: color: rgb(123, 182, 84); — Tailwind CSS: bg-[hsl(96,40%,52%)] — CSS variable: --color-primary: hsl(96, 40%, 52%);