HSL(138, 70%, 60%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(138,70%,60%)]

Color Conversions

Format Value CSS Usage
HSL hsl(138, 70%, 60%) color: hsl(138, 70%, 60%)
HEX #52E07C color: #52E07C
RGB rgb(82, 224, 124) color: rgb(82, 224, 124)
CMYK cmyk(63%, 0%, 45%, 12%)
HSV hsv(138, 63%, 88%)
HWB hwb(138 33% 12%) color: hwb(138 33% 12%)
OKLCH oklch(0.8068 0.1853 149.84) color: oklch(0.8068 0.1853 149.84)
Lab lab(79.93 -59.35 37.91) color: lab(79.93 -59.35 37.91)
LCH lch(79.93 70.42 147.43) color: lch(79.93 70.42 147.43)

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.71:1
vs Black 12.31: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)

#8F9194 — rgb(143, 145, 148)

Deuteranopia (Green-blind)

#877D9A — rgb(135, 125, 154)

Tritanopia (Blue-blind)

#59A7AC — rgb(89, 167, 172)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(138, 70%, 60%);

text

color: hsl(138, 70%, 60%);

border

border: 2px solid hsl(138, 70%, 60%);

gradient light

background: linear-gradient(to right, hsl(138, 70%, 80%), hsl(138, 70%, 60%));

gradient dark

background: linear-gradient(to right, hsl(138, 70%, 60%), hsl(138, 70%, 40%))

hex

background-color: #52E07C;

tailwind

bg-[hsl(138,70%,60%)]

box shadow

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

css variable

--color-primary: hsl(138, 70%, 60%);

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(138, 70%, 60%)?

HEX: #52E07C | RGB: rgb(82, 224, 124) | CMYK: 63%, 0%, 45%, 12% | HSV: 138°, 63%, 88%. Copy any format from the conversion table above.

What colors go well with #52E07C?

The complementary color is HSL(318, 70%, 60%). For a triadic harmony, use hues 138°, 258°, and 18°. For analogous combinations, try hues 108° and 168°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(138, 70%, 60%) in CSS?

As HSL: color: hsl(138, 70%, 60%); — As HEX: color: #52E07C; — As RGB: color: rgb(82, 224, 124); — Tailwind CSS: bg-[hsl(138,70%,60%)] — CSS variable: --color-primary: hsl(138, 70%, 60%);