HSL(84, 40%, 23%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(84,40%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(84, 40%, 23%) color: hsl(84, 40%, 23%)
HEX #3F5223 color: #3F5223
RGB rgb(63, 82, 35) color: rgb(63, 82, 35)
CMYK cmyk(23%, 0%, 57%, 68%)
HSV hsv(84, 57%, 32%)
HWB hwb(84 14% 68%) color: hwb(84 14% 68%)
OKLCH oklch(0.4107 0.0746 127.61) color: oklch(0.4107 0.0746 127.61)
Lab lab(32.29 -16.26 24.94) color: lab(32.29 -16.26 24.94)
LCH lch(32.29 29.77 123.1) color: lch(32.29 29.77 123.1)

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 8.6:1
vs Black 2.44: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)

#47472E — rgb(71, 71, 46)

Deuteranopia (Green-blind)

#464531 — rgb(70, 69, 49)

Tritanopia (Blue-blind)

#403739 — rgb(64, 55, 57)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(84, 40%, 23%);

text

color: hsl(84, 40%, 23%);

border

border: 2px solid hsl(84, 40%, 23%);

gradient light

background: linear-gradient(to right, hsl(84, 40%, 43%), hsl(84, 40%, 23%));

gradient dark

background: linear-gradient(to right, hsl(84, 40%, 23%), hsl(84, 40%, 3%))

hex

background-color: #3F5223;

tailwind

bg-[hsl(84,40%,23%)]

box shadow

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

css variable

--color-primary: hsl(84, 40%, 23%);

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(84, 40%, 23%)?

HEX: #3F5223 | RGB: rgb(63, 82, 35) | CMYK: 23%, 0%, 57%, 68% | HSV: 84°, 57%, 32%. Copy any format from the conversion table above.

What colors go well with #3F5223?

The complementary color is HSL(264, 40%, 23%). For a triadic harmony, use hues 84°, 204°, and 324°. For analogous combinations, try hues 54° and 114°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(84, 40%, 23%) in CSS?

As HSL: color: hsl(84, 40%, 23%); — As HEX: color: #3F5223; — As RGB: color: rgb(63, 82, 35); — Tailwind CSS: bg-[hsl(84,40%,23%)] — CSS variable: --color-primary: hsl(84, 40%, 23%);