HSL(93, 55%, 20%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(93,55%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(93, 55%, 20%) color: hsl(93, 55%, 20%)
HEX #304F17 color: #304F17
RGB rgb(48, 79, 23) color: rgb(48, 79, 23)
CMYK cmyk(39%, 0%, 71%, 69%)
HSV hsv(93, 71%, 31%)
HWB hwb(93 9% 69%) color: hwb(93 9% 69%)
OKLCH oklch(0.3899 0.0907 133.68) color: oklch(0.3899 0.0907 133.68)
Lab lab(30.11 -22.42 28.53) color: lab(30.11 -22.42 28.53)
LCH lch(30.11 36.29 128.16) color: lch(30.11 36.29 128.16)

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 9.31:1
vs Black 2.26: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)

#3D3E25 — rgb(61, 62, 37)

Deuteranopia (Green-blind)

#3C3928 — rgb(60, 57, 40)

Tritanopia (Blue-blind)

#322F32 — rgb(50, 47, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(93, 55%, 20%);

text

color: hsl(93, 55%, 20%);

border

border: 2px solid hsl(93, 55%, 20%);

gradient light

background: linear-gradient(to right, hsl(93, 55%, 40%), hsl(93, 55%, 20%));

gradient dark

background: linear-gradient(to right, hsl(93, 55%, 20%), hsl(93, 55%, 0%))

hex

background-color: #304F17;

tailwind

bg-[hsl(93,55%,20%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(93, 55%, 20%, 0.4);

css variable

--color-primary: hsl(93, 55%, 20%);

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(93, 55%, 20%)?

HEX: #304F17 | RGB: rgb(48, 79, 23) | CMYK: 39%, 0%, 71%, 69% | HSV: 93°, 71%, 31%. Copy any format from the conversion table above.

What colors go well with #304F17?

The complementary color is HSL(273, 55%, 20%). For a triadic harmony, use hues 93°, 213°, and 333°. For analogous combinations, try hues 63° and 123°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(93, 55%, 20%) in CSS?

As HSL: color: hsl(93, 55%, 20%); — As HEX: color: #304F17; — As RGB: color: rgb(48, 79, 23); — Tailwind CSS: bg-[hsl(93,55%,20%)] — CSS variable: --color-primary: hsl(93, 55%, 20%);