HSL(143, 51%, 51%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(143,51%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(143, 51%, 51%) color: hsl(143, 51%, 51%)
HEX #42C273 color: #42C273
RGB rgb(66, 194, 115) color: rgb(66, 194, 115)
CMYK cmyk(66%, 0%, 41%, 24%)
HSV hsv(143, 66%, 76%)
HWB hwb(143 26% 24%) color: hwb(143 26% 24%)
OKLCH oklch(0.7248 0.1601 152.53) color: oklch(0.7248 0.1601 152.53)
Lab lab(70.16 -52.6 29.74) color: lab(70.16 -52.6 29.74)
LCH lch(70.16 60.43 150.52) color: lch(70.16 60.43 150.52)

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 2.28:1
vs Black 9.2: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)

#797B86 — rgb(121, 123, 134)

Deuteranopia (Green-blind)

#72688B — rgb(114, 104, 139)

Tritanopia (Blue-blind)

#489599 — rgb(72, 149, 153)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(143, 51%, 51%);

text

color: hsl(143, 51%, 51%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #42C273;

tailwind

bg-[hsl(143,51%,51%)]

box shadow

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

css variable

--color-primary: hsl(143, 51%, 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(143, 51%, 51%)?

HEX: #42C273 | RGB: rgb(66, 194, 115) | CMYK: 66%, 0%, 41%, 24% | HSV: 143°, 66%, 76%. Copy any format from the conversion table above.

What colors go well with #42C273?

The complementary color is HSL(323, 51%, 51%). For a triadic harmony, use hues 143°, 263°, and 23°. For analogous combinations, try hues 113° and 173°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(143, 51%, 51%) in CSS?

As HSL: color: hsl(143, 51%, 51%); — As HEX: color: #42C273; — As RGB: color: rgb(66, 194, 115); — Tailwind CSS: bg-[hsl(143,51%,51%)] — CSS variable: --color-primary: hsl(143, 51%, 51%);