HSL(77, 42%, 21%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(77,42%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(77, 42%, 21%) color: hsl(77, 42%, 21%)
HEX #3F4C1F color: #3F4C1F
RGB rgb(63, 76, 31) color: rgb(63, 76, 31)
CMYK cmyk(17%, 0%, 59%, 70%)
HSV hsv(77, 59%, 30%)
HWB hwb(77 12% 70%) color: hwb(77 12% 70%)
OKLCH oklch(0.3938 0.0694 122.99) color: oklch(0.3938 0.0694 122.99)
Lab lab(30.22 -13.35 24.72) color: lab(30.22 -13.35 24.72)
LCH lch(30.22 28.09 118.37) color: lch(30.22 28.09 118.37)

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.27: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)

#45452A — rgb(69, 69, 42)

Deuteranopia (Green-blind)

#44432D — rgb(68, 67, 45)

Tritanopia (Blue-blind)

#403234 — rgb(64, 50, 52)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(77, 42%, 21%);

text

color: hsl(77, 42%, 21%);

border

border: 2px solid hsl(77, 42%, 21%);

gradient light

background: linear-gradient(to right, hsl(77, 42%, 41%), hsl(77, 42%, 21%));

gradient dark

background: linear-gradient(to right, hsl(77, 42%, 21%), hsl(77, 42%, 1%))

hex

background-color: #3F4C1F;

tailwind

bg-[hsl(77,42%,21%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(77, 42%, 21%, 0.4);

css variable

--color-primary: hsl(77, 42%, 21%);

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(77, 42%, 21%)?

HEX: #3F4C1F | RGB: rgb(63, 76, 31) | CMYK: 17%, 0%, 59%, 70% | HSV: 77°, 59%, 30%. Copy any format from the conversion table above.

What colors go well with #3F4C1F?

The complementary color is HSL(257, 42%, 21%). For a triadic harmony, use hues 77°, 197°, and 317°. For analogous combinations, try hues 47° and 107°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(77, 42%, 21%) in CSS?

As HSL: color: hsl(77, 42%, 21%); — As HEX: color: #3F4C1F; — As RGB: color: rgb(63, 76, 31); — Tailwind CSS: bg-[hsl(77,42%,21%)] — CSS variable: --color-primary: hsl(77, 42%, 21%);