HSL(157, 62%, 43%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(157,62%,43%)]

Color Conversions

Format Value CSS Usage
HSL hsl(157, 62%, 43%) color: hsl(157, 62%, 43%)
HEX #2AB27E color: #2AB27E
RGB rgb(42, 178, 126) color: rgb(42, 178, 126)
CMYK cmyk(76%, 0%, 29%, 30%)
HSV hsv(157, 76%, 70%)
HWB hwb(157 17% 30%) color: hwb(157 17% 30%)
OKLCH oklch(0.6802 0.1374 162.1) color: oklch(0.6802 0.1374 162.1)
Lab lab(64.83 -47.89 16.61) color: lab(64.83 -47.89 16.61)
LCH lch(64.83 50.69 160.87) color: lch(64.83 50.69 160.87)

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

#65668B — rgb(101, 102, 139)

Deuteranopia (Green-blind)

#5D538E — rgb(93, 83, 142)

Tritanopia (Blue-blind)

#319597 — rgb(49, 149, 151)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(157, 62%, 43%);

text

color: hsl(157, 62%, 43%);

border

border: 2px solid hsl(157, 62%, 43%);

gradient light

background: linear-gradient(to right, hsl(157, 62%, 63%), hsl(157, 62%, 43%));

gradient dark

background: linear-gradient(to right, hsl(157, 62%, 43%), hsl(157, 62%, 23%))

hex

background-color: #2AB27E;

tailwind

bg-[hsl(157,62%,43%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(157, 62%, 43%, 0.4);

css variable

--color-primary: hsl(157, 62%, 43%);

Related Colors

Use Cases for Cyan

Tech/SaaS products Medical apps Water/ocean themes Clean UI elements Data viz

Frequently Asked Questions

What are all the color codes for HSL(157, 62%, 43%)?

HEX: #2AB27E | RGB: rgb(42, 178, 126) | CMYK: 76%, 0%, 29%, 30% | HSV: 157°, 76%, 70%. Copy any format from the conversion table above.

What colors go well with #2AB27E?

The complementary color is HSL(337, 62%, 43%). For a triadic harmony, use hues 157°, 277°, and 37°. For analogous combinations, try hues 127° and 187°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(157, 62%, 43%) in CSS?

As HSL: color: hsl(157, 62%, 43%); — As HEX: color: #2AB27E; — As RGB: color: rgb(42, 178, 126); — Tailwind CSS: bg-[hsl(157,62%,43%)] — CSS variable: --color-primary: hsl(157, 62%, 43%);