HSL(159, 20%, 57%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(159,20%,57%)]

Color Conversions

Format Value CSS Usage
HSL hsl(159, 20%, 57%) color: hsl(159, 20%, 57%)
HEX #7BA798 color: #7BA798
RGB rgb(123, 167, 152) color: rgb(123, 167, 152)
CMYK cmyk(26%, 0%, 9%, 35%)
HSV hsv(160, 26%, 65%)
HWB hwb(160 48% 35%) color: hwb(160 48% 35%)
OKLCH oklch(0.6921 0.0524 171.68) color: oklch(0.6921 0.0524 171.68)
Lab lab(65.05 -18.05 2.97) color: lab(65.05 -18.05 2.97)
LCH lch(65.05 18.29 170.66) color: lch(65.05 18.29 170.66)

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

#8E8E9C — rgb(142, 142, 156)

Deuteranopia (Green-blind)

#8C889D — rgb(140, 136, 157)

Tritanopia (Blue-blind)

#7D9E9F — rgb(125, 158, 159)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(159, 20%, 57%);

text

color: hsl(159, 20%, 57%);

border

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

gradient light

background: linear-gradient(to right, hsl(159, 20%, 77%), hsl(159, 20%, 57%));

gradient dark

background: linear-gradient(to right, hsl(159, 20%, 57%), hsl(159, 20%, 37%))

hex

background-color: #7BA798;

tailwind

bg-[hsl(159,20%,57%)]

box shadow

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

css variable

--color-primary: hsl(159, 20%, 57%);

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, 20%, 57%)?

HEX: #7BA798 | RGB: rgb(123, 167, 152) | CMYK: 26%, 0%, 9%, 35% | HSV: 160°, 26%, 65%. Copy any format from the conversion table above.

What colors go well with #7BA798?

The complementary color is HSL(339, 20%, 57%). 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, 20%, 57%) in CSS?

As HSL: color: hsl(159, 20%, 57%); — As HEX: color: #7BA798; — As RGB: color: rgb(123, 167, 152); — Tailwind CSS: bg-[hsl(159,20%,57%)] — CSS variable: --color-primary: hsl(159, 20%, 57%);