HSL(72, 70%, 30%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(72,70%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(72, 70%, 30%) color: hsl(72, 70%, 30%)
HEX #6D8217 color: #6D8217
RGB rgb(109, 130, 23) color: rgb(109, 130, 23)
CMYK cmyk(16%, 0%, 82%, 49%)
HSV hsv(72, 82%, 51%)
HWB hwb(72 9% 49%) color: hwb(72 9% 49%)
OKLCH oklch(0.5702 0.128 120.79) color: oklch(0.5702 0.128 120.79)
Lab lab(51.01 -22.02 50.35) color: lab(51.01 -22.02 50.35)
LCH lch(51.01 54.95 113.62) color: lch(51.01 54.95 113.62)

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 4.32:1
vs Black 4.86: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)

#767631 — rgb(118, 118, 49)

Deuteranopia (Green-blind)

#757337 — rgb(117, 115, 55)

Tritanopia (Blue-blind)

#6E454A — rgb(110, 69, 74)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(72, 70%, 30%);

text

color: hsl(72, 70%, 30%);

border

border: 2px solid hsl(72, 70%, 30%);

gradient light

background: linear-gradient(to right, hsl(72, 70%, 50%), hsl(72, 70%, 30%));

gradient dark

background: linear-gradient(to right, hsl(72, 70%, 30%), hsl(72, 70%, 10%))

hex

background-color: #6D8217;

tailwind

bg-[hsl(72,70%,30%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(72, 70%, 30%, 0.4);

css variable

--color-primary: hsl(72, 70%, 30%);

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(72, 70%, 30%)?

HEX: #6D8217 | RGB: rgb(109, 130, 23) | CMYK: 16%, 0%, 82%, 49% | HSV: 72°, 82%, 51%. Copy any format from the conversion table above.

What colors go well with #6D8217?

The complementary color is HSL(252, 70%, 30%). For a triadic harmony, use hues 72°, 192°, and 312°. For analogous combinations, try hues 42° and 102°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(72, 70%, 30%) in CSS?

As HSL: color: hsl(72, 70%, 30%); — As HEX: color: #6D8217; — As RGB: color: rgb(109, 130, 23); — Tailwind CSS: bg-[hsl(72,70%,30%)] — CSS variable: --color-primary: hsl(72, 70%, 30%);