HSL(117, 22%, 40%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(117,22%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(117, 22%, 40%) color: hsl(117, 22%, 40%)
HEX #527C50 color: #527C50
RGB rgb(82, 124, 80) color: rgb(82, 124, 80)
CMYK cmyk(34%, 0%, 35%, 51%)
HSV hsv(117, 35%, 49%)
HWB hwb(117 32% 51%) color: hwb(117 32% 51%)
OKLCH oklch(0.5432 0.0818 143.31) color: oklch(0.5432 0.0818 143.31)
Lab lab(47.99 -24.06 19.53) color: lab(47.99 -24.06 19.53)
LCH lch(47.99 30.99 140.93) color: lch(47.99 30.99 140.93)

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.82:1
vs Black 4.36: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)

#64655B — rgb(100, 101, 91)

Deuteranopia (Green-blind)

#625F5D — rgb(98, 95, 93)

Tritanopia (Blue-blind)

#546365 — rgb(84, 99, 101)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(117, 22%, 40%);

text

color: hsl(117, 22%, 40%);

border

border: 2px solid hsl(117, 22%, 40%);

gradient light

background: linear-gradient(to right, hsl(117, 22%, 60%), hsl(117, 22%, 40%));

gradient dark

background: linear-gradient(to right, hsl(117, 22%, 40%), hsl(117, 22%, 20%))

hex

background-color: #527C50;

tailwind

bg-[hsl(117,22%,40%)]

box shadow

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

css variable

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

HEX: #527C50 | RGB: rgb(82, 124, 80) | CMYK: 34%, 0%, 35%, 51% | HSV: 117°, 35%, 49%. Copy any format from the conversion table above.

What colors go well with #527C50?

The complementary color is HSL(297, 22%, 40%). For a triadic harmony, use hues 117°, 237°, and 357°. For analogous combinations, try hues 87° and 147°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(117, 22%, 40%) in CSS?

As HSL: color: hsl(117, 22%, 40%); — As HEX: color: #527C50; — As RGB: color: rgb(82, 124, 80); — Tailwind CSS: bg-[hsl(117,22%,40%)] — CSS variable: --color-primary: hsl(117, 22%, 40%);