HSL(87, 70%, 38%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(87,70%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 70%, 38%) color: hsl(87, 70%, 38%)
HEX #68A51D color: #68A51D
RGB rgb(104, 165, 29) color: rgb(104, 165, 29)
CMYK cmyk(37%, 0%, 82%, 35%)
HSV hsv(87, 82%, 65%)
HWB hwb(87 12% 35%) color: hwb(87 12% 35%)
OKLCH oklch(0.6555 0.1709 131.84) color: oklch(0.6555 0.1709 131.84)
Lab lab(61.6 -40.18 58.03) color: lab(61.6 -40.18 58.03)
LCH lch(61.6 70.58 124.7) color: lch(61.6 70.58 124.7)

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

#82833E — rgb(130, 131, 62)

Deuteranopia (Green-blind)

#7F7A46 — rgb(127, 122, 70)

Tritanopia (Blue-blind)

#6B585E — rgb(107, 88, 94)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 70%, 38%);

text

color: hsl(87, 70%, 38%);

border

border: 2px solid hsl(87, 70%, 38%);

gradient light

background: linear-gradient(to right, hsl(87, 70%, 58%), hsl(87, 70%, 38%));

gradient dark

background: linear-gradient(to right, hsl(87, 70%, 38%), hsl(87, 70%, 18%))

hex

background-color: #68A51D;

tailwind

bg-[hsl(87,70%,38%)]

box shadow

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

css variable

--color-primary: hsl(87, 70%, 38%);

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, 70%, 38%)?

HEX: #68A51D | RGB: rgb(104, 165, 29) | CMYK: 37%, 0%, 82%, 35% | HSV: 87°, 82%, 65%. Copy any format from the conversion table above.

What colors go well with #68A51D?

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

As HSL: color: hsl(87, 70%, 38%); — As HEX: color: #68A51D; — As RGB: color: rgb(104, 165, 29); — Tailwind CSS: bg-[hsl(87,70%,38%)] — CSS variable: --color-primary: hsl(87, 70%, 38%);