HSL(88, 30%, 31%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(88,30%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(88, 30%, 31%) color: hsl(88, 30%, 31%)
HEX #516737 color: #516737
RGB rgb(81, 103, 55) color: rgb(81, 103, 55)
CMYK cmyk(21%, 0%, 47%, 60%)
HSV hsv(88, 47%, 40%)
HWB hwb(88 21% 60%) color: hwb(88 21% 60%)
OKLCH oklch(0.4834 0.0762 129.05) color: oklch(0.4834 0.0762 129.05)
Lab lab(40.78 -17.4 24.38) color: lab(40.78 -17.4 24.38)
LCH lch(40.78 29.95 125.52) color: lch(40.78 29.95 125.52)

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 6.28:1
vs Black 3.35:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#5B5B43 — rgb(91, 91, 67)

Deuteranopia (Green-blind)

#595845 — rgb(89, 88, 69)

Tritanopia (Blue-blind)

#524C4E — rgb(82, 76, 78)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(88, 30%, 31%);

text

color: hsl(88, 30%, 31%);

border

border: 2px solid hsl(88, 30%, 31%);

gradient light

background: linear-gradient(to right, hsl(88, 30%, 51%), hsl(88, 30%, 31%));

gradient dark

background: linear-gradient(to right, hsl(88, 30%, 31%), hsl(88, 30%, 11%))

hex

background-color: #516737;

tailwind

bg-[hsl(88,30%,31%)]

box shadow

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

css variable

--color-primary: hsl(88, 30%, 31%);

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(88, 30%, 31%)?

HEX: #516737 | RGB: rgb(81, 103, 55) | CMYK: 21%, 0%, 47%, 60% | HSV: 88°, 47%, 40%. Copy any format from the conversion table above.

What colors go well with #516737?

The complementary color is HSL(268, 30%, 31%). For a triadic harmony, use hues 88°, 208°, and 328°. For analogous combinations, try hues 58° and 118°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(88, 30%, 31%) in CSS?

As HSL: color: hsl(88, 30%, 31%); — As HEX: color: #516737; — As RGB: color: rgb(81, 103, 55); — Tailwind CSS: bg-[hsl(88,30%,31%)] — CSS variable: --color-primary: hsl(88, 30%, 31%);