HSL(86, 66%, 27%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(86,66%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(86, 66%, 27%) color: hsl(86, 66%, 27%)
HEX #4B7217 color: #4B7217
RGB rgb(75, 114, 23) color: rgb(75, 114, 23)
CMYK cmyk(34%, 0%, 80%, 55%)
HSV hsv(86, 80%, 45%)
HWB hwb(86 9% 55%) color: hwb(86 9% 55%)
OKLCH oklch(0.5045 0.1249 130.58) color: oklch(0.5045 0.1249 130.58)
Lab lab(43.64 -28.56 42.72) color: lab(43.64 -28.56 42.72)
LCH lch(43.64 51.39 123.76) color: lch(43.64 51.39 123.76)

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.65:1
vs Black 3.72: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)

#5C5C2D — rgb(92, 92, 45)

Deuteranopia (Green-blind)

#5A5732 — rgb(90, 87, 50)

Tritanopia (Blue-blind)

#4D3E42 — rgb(77, 62, 66)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(86, 66%, 27%);

text

color: hsl(86, 66%, 27%);

border

border: 2px solid hsl(86, 66%, 27%);

gradient light

background: linear-gradient(to right, hsl(86, 66%, 47%), hsl(86, 66%, 27%));

gradient dark

background: linear-gradient(to right, hsl(86, 66%, 27%), hsl(86, 66%, 7%))

hex

background-color: #4B7217;

tailwind

bg-[hsl(86,66%,27%)]

box shadow

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

css variable

--color-primary: hsl(86, 66%, 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(86, 66%, 27%)?

HEX: #4B7217 | RGB: rgb(75, 114, 23) | CMYK: 34%, 0%, 80%, 55% | HSV: 86°, 80%, 45%. Copy any format from the conversion table above.

What colors go well with #4B7217?

The complementary color is HSL(266, 66%, 27%). For a triadic harmony, use hues 86°, 206°, and 326°. For analogous combinations, try hues 56° and 116°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(86, 66%, 27%) in CSS?

As HSL: color: hsl(86, 66%, 27%); — As HEX: color: #4B7217; — As RGB: color: rgb(75, 114, 23); — Tailwind CSS: bg-[hsl(86,66%,27%)] — CSS variable: --color-primary: hsl(86, 66%, 27%);