HSL(92, 57%, 31%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(92,57%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(92, 57%, 31%) color: hsl(92, 57%, 31%)
HEX #4C7C22 color: #4C7C22
RGB rgb(76, 124, 34) color: rgb(76, 124, 34)
CMYK cmyk(39%, 0%, 73%, 51%)
HSV hsv(92, 73%, 49%)
HWB hwb(92 13% 51%) color: hwb(92 13% 51%)
OKLCH oklch(0.5328 0.1307 133.48) color: oklch(0.5328 0.1307 133.48)
Lab lab(47.06 -32.08 41.9) color: lab(47.06 -32.08 41.9)
LCH lch(47.06 52.77 127.44) color: lch(47.06 52.77 127.44)

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.98:1
vs Black 4.21: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)

#616138 — rgb(97, 97, 56)

Deuteranopia (Green-blind)

#5E5A3D — rgb(94, 90, 61)

Tritanopia (Blue-blind)

#4E494D — rgb(78, 73, 77)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(92, 57%, 31%);

text

color: hsl(92, 57%, 31%);

border

border: 2px solid hsl(92, 57%, 31%);

gradient light

background: linear-gradient(to right, hsl(92, 57%, 51%), hsl(92, 57%, 31%));

gradient dark

background: linear-gradient(to right, hsl(92, 57%, 31%), hsl(92, 57%, 11%))

hex

background-color: #4C7C22;

tailwind

bg-[hsl(92,57%,31%)]

box shadow

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

css variable

--color-primary: hsl(92, 57%, 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(92, 57%, 31%)?

HEX: #4C7C22 | RGB: rgb(76, 124, 34) | CMYK: 39%, 0%, 73%, 51% | HSV: 92°, 73%, 49%. Copy any format from the conversion table above.

What colors go well with #4C7C22?

The complementary color is HSL(272, 57%, 31%). For a triadic harmony, use hues 92°, 212°, and 332°. For analogous combinations, try hues 62° and 122°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(92, 57%, 31%) in CSS?

As HSL: color: hsl(92, 57%, 31%); — As HEX: color: #4C7C22; — As RGB: color: rgb(76, 124, 34); — Tailwind CSS: bg-[hsl(92,57%,31%)] — CSS variable: --color-primary: hsl(92, 57%, 31%);