HSL(71, 40%, 31%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(71,40%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(71, 40%, 31%) color: hsl(71, 40%, 31%)
HEX #636F2F color: #636F2F
RGB rgb(99, 111, 47) color: rgb(99, 111, 47)
CMYK cmyk(11%, 0%, 58%, 56%)
HSV hsv(71, 58%, 44%)
HWB hwb(71 18% 56%) color: hwb(71 18% 56%)
OKLCH oklch(0.5169 0.0894 118.49) color: oklch(0.5169 0.0894 118.49)
Lab lab(44.56 -14.85 33.57) color: lab(44.56 -14.85 33.57)
LCH lch(44.56 36.71 113.86) color: lch(44.56 36.71 113.86)

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 5.46:1
vs Black 3.85: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)

#68683E — rgb(104, 104, 62)

Deuteranopia (Green-blind)

#686742 — rgb(104, 103, 66)

Tritanopia (Blue-blind)

#644B4D — rgb(100, 75, 77)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(71, 40%, 31%);

text

color: hsl(71, 40%, 31%);

border

border: 2px solid hsl(71, 40%, 31%);

gradient light

background: linear-gradient(to right, hsl(71, 40%, 51%), hsl(71, 40%, 31%));

gradient dark

background: linear-gradient(to right, hsl(71, 40%, 31%), hsl(71, 40%, 11%))

hex

background-color: #636F2F;

tailwind

bg-[hsl(71,40%,31%)]

box shadow

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

css variable

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

HEX: #636F2F | RGB: rgb(99, 111, 47) | CMYK: 11%, 0%, 58%, 56% | HSV: 71°, 58%, 44%. Copy any format from the conversion table above.

What colors go well with #636F2F?

The complementary color is HSL(251, 40%, 31%). For a triadic harmony, use hues 71°, 191°, and 311°. For analogous combinations, try hues 41° and 101°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(71, 40%, 31%) in CSS?

As HSL: color: hsl(71, 40%, 31%); — As HEX: color: #636F2F; — As RGB: color: rgb(99, 111, 47); — Tailwind CSS: bg-[hsl(71,40%,31%)] — CSS variable: --color-primary: hsl(71, 40%, 31%);