HSL(171, 98%, 40%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(171,98%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(171, 98%, 40%) color: hsl(171, 98%, 40%)
HEX #02CAAC color: #02CAAC
RGB rgb(2, 202, 172) color: rgb(2, 202, 172)
CMYK cmyk(99%, 0%, 15%, 21%)
HSV hsv(171, 99%, 79%)
HWB hwb(171 1% 21%) color: hwb(171 1% 21%)
OKLCH oklch(0.7501 0.1391 176.83) color: oklch(0.7501 0.1391 176.83)
Lab lab(73.04 -48.8 3.18) color: lab(73.04 -48.8 3.18)
LCH lch(73.04 48.9 176.27) color: lch(73.04 48.9 176.27)

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

#595AB3 — rgb(89, 90, 179)

Deuteranopia (Green-blind)

#4D3EB5 — rgb(77, 62, 181)

Tritanopia (Blue-blind)

#0CB9BA — rgb(12, 185, 186)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(171, 98%, 40%);

text

color: hsl(171, 98%, 40%);

border

border: 2px solid hsl(171, 98%, 40%);

gradient light

background: linear-gradient(to right, hsl(171, 98%, 60%), hsl(171, 98%, 40%));

gradient dark

background: linear-gradient(to right, hsl(171, 98%, 40%), hsl(171, 98%, 20%))

hex

background-color: #02CAAC;

tailwind

bg-[hsl(171,98%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(171, 98%, 40%, 0.4);

css variable

--color-primary: hsl(171, 98%, 40%);

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(171, 98%, 40%)?

HEX: #02CAAC | RGB: rgb(2, 202, 172) | CMYK: 99%, 0%, 15%, 21% | HSV: 171°, 99%, 79%. Copy any format from the conversion table above.

What colors go well with #02CAAC?

The complementary color is HSL(351, 98%, 40%). For a triadic harmony, use hues 171°, 291°, and 51°. For analogous combinations, try hues 141° and 201°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(171, 98%, 40%) in CSS?

As HSL: color: hsl(171, 98%, 40%); — As HEX: color: #02CAAC; — As RGB: color: rgb(2, 202, 172); — Tailwind CSS: bg-[hsl(171,98%,40%)] — CSS variable: --color-primary: hsl(171, 98%, 40%);