HSL(159, 50%, 50%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(159,50%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(159, 50%, 50%) color: hsl(159, 50%, 50%)
HEX #40BF93 color: #40BF93
RGB rgb(64, 191, 147) color: rgb(64, 191, 147)
CMYK cmyk(66%, 0%, 23%, 25%)
HSV hsv(159, 66%, 75%)
HWB hwb(159 26% 25%) color: hwb(159 26% 25%)
OKLCH oklch(0.7237 0.1289 166) color: oklch(0.7237 0.1289 166)
Lab lab(69.79 -45.18 12.18) color: lab(69.79 -45.18 12.18)
LCH lch(69.79 46.79 164.91) color: lch(69.79 46.79 164.91)

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

#77789E — rgb(119, 120, 158)

Deuteranopia (Green-blind)

#7066A0 — rgb(112, 102, 160)

Tritanopia (Blue-blind)

#46A6A8 — rgb(70, 166, 168)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(159, 50%, 50%);

text

color: hsl(159, 50%, 50%);

border

border: 2px solid hsl(159, 50%, 50%);

gradient light

background: linear-gradient(to right, hsl(159, 50%, 70%), hsl(159, 50%, 50%));

gradient dark

background: linear-gradient(to right, hsl(159, 50%, 50%), hsl(159, 50%, 30%))

hex

background-color: #40BF93;

tailwind

bg-[hsl(159,50%,50%)]

box shadow

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

css variable

--color-primary: hsl(159, 50%, 50%);

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(159, 50%, 50%)?

HEX: #40BF93 | RGB: rgb(64, 191, 147) | CMYK: 66%, 0%, 23%, 25% | HSV: 159°, 66%, 75%. Copy any format from the conversion table above.

What colors go well with #40BF93?

The complementary color is HSL(339, 50%, 50%). For a triadic harmony, use hues 159°, 279°, and 39°. For analogous combinations, try hues 129° and 189°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(159, 50%, 50%) in CSS?

As HSL: color: hsl(159, 50%, 50%); — As HEX: color: #40BF93; — As RGB: color: rgb(64, 191, 147); — Tailwind CSS: bg-[hsl(159,50%,50%)] — CSS variable: --color-primary: hsl(159, 50%, 50%);