HSL(82, 40%, 27%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(82,40%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(82, 40%, 27%) color: hsl(82, 40%, 27%)
HEX #4C6029 color: #4C6029
RGB rgb(76, 96, 41) color: rgb(76, 96, 41)
CMYK cmyk(21%, 0%, 57%, 62%)
HSV hsv(82, 57%, 38%)
HWB hwb(82 16% 62%) color: hwb(82 16% 62%)
OKLCH oklch(0.4591 0.0835 126.1) color: oklch(0.4591 0.0835 126.1)
Lab lab(37.95 -17.5 28.59) color: lab(37.95 -17.5 28.59)
LCH lch(37.95 33.52 121.47) color: lch(37.95 33.52 121.47)

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 6.97:1
vs Black 3.01: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)

#555536 — rgb(85, 85, 54)

Deuteranopia (Green-blind)

#54523A — rgb(84, 82, 58)

Tritanopia (Blue-blind)

#4D4143 — rgb(77, 65, 67)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(82, 40%, 27%);

text

color: hsl(82, 40%, 27%);

border

border: 2px solid hsl(82, 40%, 27%);

gradient light

background: linear-gradient(to right, hsl(82, 40%, 47%), hsl(82, 40%, 27%));

gradient dark

background: linear-gradient(to right, hsl(82, 40%, 27%), hsl(82, 40%, 7%))

hex

background-color: #4C6029;

tailwind

bg-[hsl(82,40%,27%)]

box shadow

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

css variable

--color-primary: hsl(82, 40%, 27%);

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(82, 40%, 27%)?

HEX: #4C6029 | RGB: rgb(76, 96, 41) | CMYK: 21%, 0%, 57%, 62% | HSV: 82°, 57%, 38%. Copy any format from the conversion table above.

What colors go well with #4C6029?

The complementary color is HSL(262, 40%, 27%). For a triadic harmony, use hues 82°, 202°, and 322°. For analogous combinations, try hues 52° and 112°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(82, 40%, 27%) in CSS?

As HSL: color: hsl(82, 40%, 27%); — As HEX: color: #4C6029; — As RGB: color: rgb(76, 96, 41); — Tailwind CSS: bg-[hsl(82,40%,27%)] — CSS variable: --color-primary: hsl(82, 40%, 27%);