HSL(77, 79%, 31%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(77,79%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(77, 79%, 31%) color: hsl(77, 79%, 31%)
HEX #6A8D11 color: #6A8D11
RGB rgb(106, 141, 17) color: rgb(106, 141, 17)
CMYK cmyk(25%, 0%, 88%, 45%)
HSV hsv(77, 88%, 55%)
HWB hwb(77 7% 45%) color: hwb(77 7% 45%)
OKLCH oklch(0.5953 0.1453 125.6) color: oklch(0.5953 0.1453 125.6)
Lab lab(54.19 -28.96 54.61) color: lab(54.19 -28.96 54.61)
LCH lch(54.19 61.81 117.94) color: lch(54.19 61.81 117.94)

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 3.87:1
vs Black 5.43:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#79792F — rgb(121, 121, 47)

Deuteranopia (Green-blind)

#777536 — rgb(119, 117, 54)

Tritanopia (Blue-blind)

#6C474C — rgb(108, 71, 76)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(77, 79%, 31%);

text

color: hsl(77, 79%, 31%);

border

border: 2px solid hsl(77, 79%, 31%);

gradient light

background: linear-gradient(to right, hsl(77, 79%, 51%), hsl(77, 79%, 31%));

gradient dark

background: linear-gradient(to right, hsl(77, 79%, 31%), hsl(77, 79%, 11%))

hex

background-color: #6A8D11;

tailwind

bg-[hsl(77,79%,31%)]

box shadow

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

css variable

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

HEX: #6A8D11 | RGB: rgb(106, 141, 17) | CMYK: 25%, 0%, 88%, 45% | HSV: 77°, 88%, 55%. Copy any format from the conversion table above.

What colors go well with #6A8D11?

The complementary color is HSL(257, 79%, 31%). 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, 79%, 31%) in CSS?

As HSL: color: hsl(77, 79%, 31%); — As HEX: color: #6A8D11; — As RGB: color: rgb(106, 141, 17); — Tailwind CSS: bg-[hsl(77,79%,31%)] — CSS variable: --color-primary: hsl(77, 79%, 31%);