HSL(135, 70%, 28%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(135,70%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(135, 70%, 28%) color: hsl(135, 70%, 28%)
HEX #15792E color: #15792E
RGB rgb(21, 121, 46) color: rgb(21, 121, 46)
CMYK cmyk(83%, 0%, 62%, 53%)
HSV hsv(135, 83%, 47%)
HWB hwb(135 8% 53%) color: hwb(135 8% 53%)
OKLCH oklch(0.505 0.1416 146.8) color: oklch(0.505 0.1416 146.8)
Lab lab(44.28 -44.04 32.84) color: lab(44.28 -44.04 32.84)
LCH lch(44.28 54.94 143.29) color: lch(44.28 54.94 143.29)

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.52:1
vs Black 3.81: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)

#404140 — rgb(64, 65, 64)

Deuteranopia (Green-blind)

#3B3345 — rgb(59, 51, 69)

Tritanopia (Blue-blind)

#1A4E52 — rgb(26, 78, 82)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(135, 70%, 28%);

text

color: hsl(135, 70%, 28%);

border

border: 2px solid hsl(135, 70%, 28%);

gradient light

background: linear-gradient(to right, hsl(135, 70%, 48%), hsl(135, 70%, 28%));

gradient dark

background: linear-gradient(to right, hsl(135, 70%, 28%), hsl(135, 70%, 8%))

hex

background-color: #15792E;

tailwind

bg-[hsl(135,70%,28%)]

box shadow

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

css variable

--color-primary: hsl(135, 70%, 28%);

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(135, 70%, 28%)?

HEX: #15792E | RGB: rgb(21, 121, 46) | CMYK: 83%, 0%, 62%, 53% | HSV: 135°, 83%, 47%. Copy any format from the conversion table above.

What colors go well with #15792E?

The complementary color is HSL(315, 70%, 28%). For a triadic harmony, use hues 135°, 255°, and 15°. For analogous combinations, try hues 105° and 165°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(135, 70%, 28%) in CSS?

As HSL: color: hsl(135, 70%, 28%); — As HEX: color: #15792E; — As RGB: color: rgb(21, 121, 46); — Tailwind CSS: bg-[hsl(135,70%,28%)] — CSS variable: --color-primary: hsl(135, 70%, 28%);