HSL(68, 57%, 22%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(68,57%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(68, 57%, 22%) color: hsl(68, 57%, 22%)
HEX #505818 color: #505818
RGB rgb(80, 88, 24) color: rgb(80, 88, 24)
CMYK cmyk(9%, 0%, 73%, 65%)
HSV hsv(68, 73%, 35%)
HWB hwb(68 9% 65%) color: hwb(68 9% 65%)
OKLCH oklch(0.4396 0.0863 116.2) color: oklch(0.4396 0.0863 116.2)
Lab lab(35.5 -12.77 34.43) color: lab(35.5 -12.77 34.43)
LCH lch(35.5 36.72 110.35) color: lch(35.5 36.72 110.35)

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 7.64:1
vs Black 2.75:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#535427 — rgb(83, 84, 39)

Deuteranopia (Green-blind)

#53522B — rgb(83, 82, 43)

Tritanopia (Blue-blind)

#503436 — rgb(80, 52, 54)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(68, 57%, 22%);

text

color: hsl(68, 57%, 22%);

border

border: 2px solid hsl(68, 57%, 22%);

gradient light

background: linear-gradient(to right, hsl(68, 57%, 42%), hsl(68, 57%, 22%));

gradient dark

background: linear-gradient(to right, hsl(68, 57%, 22%), hsl(68, 57%, 2%))

hex

background-color: #505818;

tailwind

bg-[hsl(68,57%,22%)]

box shadow

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

css variable

--color-primary: hsl(68, 57%, 22%);

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(68, 57%, 22%)?

HEX: #505818 | RGB: rgb(80, 88, 24) | CMYK: 9%, 0%, 73%, 65% | HSV: 68°, 73%, 35%. Copy any format from the conversion table above.

What colors go well with #505818?

The complementary color is HSL(248, 57%, 22%). For a triadic harmony, use hues 68°, 188°, and 308°. For analogous combinations, try hues 38° and 98°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(68, 57%, 22%) in CSS?

As HSL: color: hsl(68, 57%, 22%); — As HEX: color: #505818; — As RGB: color: rgb(80, 88, 24); — Tailwind CSS: bg-[hsl(68,57%,22%)] — CSS variable: --color-primary: hsl(68, 57%, 22%);