HSL(135, 68%, 51%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(135,68%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(135, 68%, 51%) color: hsl(135, 68%, 51%)
HEX #2DD758 color: #2DD758
RGB rgb(45, 215, 88) color: rgb(45, 215, 88)
CMYK cmyk(79%, 0%, 59%, 16%)
HSV hsv(135, 79%, 84%)
HWB hwb(135 18% 16%) color: hwb(135 18% 16%)
OKLCH oklch(0.7707 0.2159 146.85) color: oklch(0.7707 0.2159 146.85)
Lab lab(75.98 -67.22 50.01) color: lab(75.98 -67.22 50.01)
LCH lch(75.98 83.78 143.35) color: lch(75.98 83.78 143.35)

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 1.91:1
vs Black 10.97:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#777877 — rgb(119, 120, 119)

Deuteranopia (Green-blind)

#6D607E — rgb(109, 96, 126)

Tritanopia (Blue-blind)

#368F94 — rgb(54, 143, 148)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(135, 68%, 51%);

text

color: hsl(135, 68%, 51%);

border

border: 2px solid hsl(135, 68%, 51%);

gradient light

background: linear-gradient(to right, hsl(135, 68%, 71%), hsl(135, 68%, 51%));

gradient dark

background: linear-gradient(to right, hsl(135, 68%, 51%), hsl(135, 68%, 31%))

hex

background-color: #2DD758;

tailwind

bg-[hsl(135,68%,51%)]

box shadow

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

css variable

--color-primary: hsl(135, 68%, 51%);

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, 68%, 51%)?

HEX: #2DD758 | RGB: rgb(45, 215, 88) | CMYK: 79%, 0%, 59%, 16% | HSV: 135°, 79%, 84%. Copy any format from the conversion table above.

What colors go well with #2DD758?

The complementary color is HSL(315, 68%, 51%). 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, 68%, 51%) in CSS?

As HSL: color: hsl(135, 68%, 51%); — As HEX: color: #2DD758; — As RGB: color: rgb(45, 215, 88); — Tailwind CSS: bg-[hsl(135,68%,51%)] — CSS variable: --color-primary: hsl(135, 68%, 51%);