HSL(87, 10%, 35%)

Grayish Green — Green color

Adjust Color

Color Information

Color Name

Grayish Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(87,10%,35%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 10%, 35%) color: hsl(87, 10%, 35%)
HEX #5A6250 color: #5A6250
RGB rgb(90, 98, 80) color: rgb(90, 98, 80)
CMYK cmyk(8%, 0%, 18%, 62%)
HSV hsv(87, 18%, 38%)
HWB hwb(87 31% 62%) color: hwb(87 31% 62%)
OKLCH oklch(0.4837 0.0297 127.02) color: oklch(0.4837 0.0297 127.02)
Lab lab(40.39 -6.77 9.22) color: lab(40.39 -6.77 9.22)
LCH lch(40.39 11.44 126.29) color: lch(40.39 11.44 126.29)

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.37:1
vs Black 3.3: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)

#5D5E54 — rgb(93, 94, 84)

Deuteranopia (Green-blind)

#5D5C55 — rgb(93, 92, 85)

Tritanopia (Blue-blind)

#5A5859 — rgb(90, 88, 89)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 10%, 35%);

text

color: hsl(87, 10%, 35%);

border

border: 2px solid hsl(87, 10%, 35%);

gradient light

background: linear-gradient(to right, hsl(87, 10%, 55%), hsl(87, 10%, 35%));

gradient dark

background: linear-gradient(to right, hsl(87, 10%, 35%), hsl(87, 10%, 15%))

hex

background-color: #5A6250;

tailwind

bg-[hsl(87,10%,35%)]

box shadow

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

css variable

--color-primary: hsl(87, 10%, 35%);

Related Colors

Use Cases for Grayish Green

Success states Eco/nature brands Finance apps Health apps Confirm buttons

Frequently Asked Questions

What are all the color codes for HSL(87, 10%, 35%)?

HEX: #5A6250 | RGB: rgb(90, 98, 80) | CMYK: 8%, 0%, 18%, 62% | HSV: 87°, 18%, 38%. Copy any format from the conversion table above.

What colors go well with #5A6250?

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

As HSL: color: hsl(87, 10%, 35%); — As HEX: color: #5A6250; — As RGB: color: rgb(90, 98, 80); — Tailwind CSS: bg-[hsl(87,10%,35%)] — CSS variable: --color-primary: hsl(87, 10%, 35%);