HSL(158, 31%, 71%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(158,31%,71%)]

Color Conversions

Format Value CSS Usage
HSL hsl(158, 31%, 71%) color: hsl(158, 31%, 71%)
HEX #9ECCBB color: #9ECCBB
RGB rgb(158, 204, 187) color: rgb(158, 204, 187)
CMYK cmyk(23%, 0%, 8%, 20%)
HSV hsv(158, 23%, 80%)
HWB hwb(158 62% 20%) color: hwb(158 62% 20%)
OKLCH oklch(0.8077 0.054 170.3) color: oklch(0.8077 0.054 170.3)
Lab lab(78.49 -18.55 3.55) color: lab(78.49 -18.55 3.55)
LCH lch(78.49 18.89 169.17) color: lch(78.49 18.89 169.17)

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

#B2B2BF — rgb(178, 178, 191)

Deuteranopia (Green-blind)

#AFACC0 — rgb(175, 172, 192)

Tritanopia (Blue-blind)

#A0C2C3 — rgb(160, 194, 195)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(158, 31%, 71%);

text

color: hsl(158, 31%, 71%);

border

border: 2px solid hsl(158, 31%, 71%);

gradient light

background: linear-gradient(to right, hsl(158, 31%, 91%), hsl(158, 31%, 71%));

gradient dark

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

hex

background-color: #9ECCBB;

tailwind

bg-[hsl(158,31%,71%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(158, 31%, 71%, 0.4);

css variable

--color-primary: hsl(158, 31%, 71%);

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(158, 31%, 71%)?

HEX: #9ECCBB | RGB: rgb(158, 204, 187) | CMYK: 23%, 0%, 8%, 20% | HSV: 158°, 23%, 80%. Copy any format from the conversion table above.

What colors go well with #9ECCBB?

The complementary color is HSL(338, 31%, 71%). For a triadic harmony, use hues 158°, 278°, and 38°. For analogous combinations, try hues 128° and 188°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(158, 31%, 71%) in CSS?

As HSL: color: hsl(158, 31%, 71%); — As HEX: color: #9ECCBB; — As RGB: color: rgb(158, 204, 187); — Tailwind CSS: bg-[hsl(158,31%,71%)] — CSS variable: --color-primary: hsl(158, 31%, 71%);