HSL(87, 30%, 39%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(87,30%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 30%, 39%) color: hsl(87, 30%, 39%)
HEX #668146 color: #668146
RGB rgb(102, 129, 70) color: rgb(102, 129, 70)
CMYK cmyk(21%, 0%, 46%, 49%)
HSV hsv(87, 46%, 51%)
HWB hwb(87 28% 49%) color: hwb(87 28% 49%)
OKLCH oklch(0.5674 0.09 129.04) color: oklch(0.5674 0.09 129.04)
Lab lab(50.65 -20.51 28.79) color: lab(50.65 -20.51 28.79)
LCH lch(50.65 35.35 125.47) color: lch(50.65 35.35 125.47)

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 4.38:1
vs Black 4.79: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)

#727254 — rgb(114, 114, 84)

Deuteranopia (Green-blind)

#706E58 — rgb(112, 110, 88)

Tritanopia (Blue-blind)

#676062 — rgb(103, 96, 98)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 30%, 39%);

text

color: hsl(87, 30%, 39%);

border

border: 2px solid hsl(87, 30%, 39%);

gradient light

background: linear-gradient(to right, hsl(87, 30%, 59%), hsl(87, 30%, 39%));

gradient dark

background: linear-gradient(to right, hsl(87, 30%, 39%), hsl(87, 30%, 19%))

hex

background-color: #668146;

tailwind

bg-[hsl(87,30%,39%)]

box shadow

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

css variable

--color-primary: hsl(87, 30%, 39%);

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, 30%, 39%)?

HEX: #668146 | RGB: rgb(102, 129, 70) | CMYK: 21%, 0%, 46%, 49% | HSV: 87°, 46%, 51%. Copy any format from the conversion table above.

What colors go well with #668146?

The complementary color is HSL(267, 30%, 39%). 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, 30%, 39%) in CSS?

As HSL: color: hsl(87, 30%, 39%); — As HEX: color: #668146; — As RGB: color: rgb(102, 129, 70); — Tailwind CSS: bg-[hsl(87,30%,39%)] — CSS variable: --color-primary: hsl(87, 30%, 39%);