HSL(97, 22%, 33%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(97,22%,33%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 22%, 33%) color: hsl(97, 22%, 33%)
HEX #506742 color: #506742
RGB rgb(80, 103, 66) color: rgb(80, 103, 66)
CMYK cmyk(22%, 0%, 36%, 60%)
HSV hsv(97, 36%, 40%)
HWB hwb(97 26% 60%) color: hwb(97 26% 60%)
OKLCH oklch(0.4848 0.0632 134.16) color: oklch(0.4848 0.0632 134.16)
Lab lab(40.9 -16.15 18.17) color: lab(40.9 -16.15 18.17)
LCH lch(40.9 24.31 131.63) color: lch(40.9 24.31 131.63)

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.25:1
vs Black 3.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)

#5A5A4B — rgb(90, 90, 75)

Deuteranopia (Green-blind)

#59574D — rgb(89, 87, 77)

Tritanopia (Blue-blind)

#515254 — rgb(81, 82, 84)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 22%, 33%);

text

color: hsl(97, 22%, 33%);

border

border: 2px solid hsl(97, 22%, 33%);

gradient light

background: linear-gradient(to right, hsl(97, 22%, 53%), hsl(97, 22%, 33%));

gradient dark

background: linear-gradient(to right, hsl(97, 22%, 33%), hsl(97, 22%, 13%))

hex

background-color: #506742;

tailwind

bg-[hsl(97,22%,33%)]

box shadow

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

css variable

--color-primary: hsl(97, 22%, 33%);

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(97, 22%, 33%)?

HEX: #506742 | RGB: rgb(80, 103, 66) | CMYK: 22%, 0%, 36%, 60% | HSV: 97°, 36%, 40%. Copy any format from the conversion table above.

What colors go well with #506742?

The complementary color is HSL(277, 22%, 33%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(97, 22%, 33%) in CSS?

As HSL: color: hsl(97, 22%, 33%); — As HEX: color: #506742; — As RGB: color: rgb(80, 103, 66); — Tailwind CSS: bg-[hsl(97,22%,33%)] — CSS variable: --color-primary: hsl(97, 22%, 33%);