HSL(87, 75%, 40%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(87,75%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 75%, 40%) color: hsl(87, 75%, 40%)
HEX #6EB31A color: #6EB31A
RGB rgb(110, 179, 26) color: rgb(110, 179, 26)
CMYK cmyk(39%, 0%, 85%, 30%)
HSV hsv(87, 85%, 70%)
HWB hwb(87 11% 30%) color: hwb(87 11% 30%)
OKLCH oklch(0.6942 0.1857 132.32) color: oklch(0.6942 0.1857 132.32)
Lab lab(66.24 -44.08 63) color: lab(66.24 -44.08 63)
LCH lch(66.24 76.89 124.98) color: lch(66.24 76.89 124.98)

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.58:1
vs Black 8.13: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)

#8C8C3F — rgb(140, 140, 63)

Deuteranopia (Green-blind)

#888348 — rgb(136, 131, 72)

Tritanopia (Blue-blind)

#715C63 — rgb(113, 92, 99)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 75%, 40%);

text

color: hsl(87, 75%, 40%);

border

border: 2px solid hsl(87, 75%, 40%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(87, 75%, 40%), hsl(87, 75%, 20%))

hex

background-color: #6EB31A;

tailwind

bg-[hsl(87,75%,40%)]

box shadow

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

css variable

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

HEX: #6EB31A | RGB: rgb(110, 179, 26) | CMYK: 39%, 0%, 85%, 30% | HSV: 87°, 85%, 70%. Copy any format from the conversion table above.

What colors go well with #6EB31A?

The complementary color is HSL(267, 75%, 40%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(87, 75%, 40%) in CSS?

As HSL: color: hsl(87, 75%, 40%); — As HEX: color: #6EB31A; — As RGB: color: rgb(110, 179, 26); — Tailwind CSS: bg-[hsl(87,75%,40%)] — CSS variable: --color-primary: hsl(87, 75%, 40%);