HSL(158, 18%, 79%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(158,18%,79%)]

Color Conversions

Format Value CSS Usage
HSL hsl(158, 18%, 79%) color: hsl(158, 18%, 79%)
HEX #C0D3CC color: #C0D3CC
RGB rgb(192, 211, 204) color: rgb(192, 211, 204)
CMYK cmyk(9%, 0%, 3%, 17%)
HSV hsv(158, 9%, 83%)
HWB hwb(158 76% 17%) color: hwb(158 76% 17%)
OKLCH oklch(0.8505 0.0226 171.68) color: oklch(0.8505 0.0226 171.68)
Lab lab(83 -7.71 1.28) color: lab(83 -7.71 1.28)
LCH lch(83 7.82 170.57) color: lch(83 7.82 170.57)

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

#C8C8CE — rgb(200, 200, 206)

Deuteranopia (Green-blind)

#C7C6CE — rgb(199, 198, 206)

Tritanopia (Blue-blind)

#C1CFCF — rgb(193, 207, 207)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(158, 18%, 79%);

text

color: hsl(158, 18%, 79%);

border

border: 2px solid hsl(158, 18%, 79%);

gradient light

background: linear-gradient(to right, hsl(158, 18%, 99%), hsl(158, 18%, 79%));

gradient dark

background: linear-gradient(to right, hsl(158, 18%, 79%), hsl(158, 18%, 59%))

hex

background-color: #C0D3CC;

tailwind

bg-[hsl(158,18%,79%)]

box shadow

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

css variable

--color-primary: hsl(158, 18%, 79%);

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, 18%, 79%)?

HEX: #C0D3CC | RGB: rgb(192, 211, 204) | CMYK: 9%, 0%, 3%, 17% | HSV: 158°, 9%, 83%. Copy any format from the conversion table above.

What colors go well with #C0D3CC?

The complementary color is HSL(338, 18%, 79%). 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, 18%, 79%) in CSS?

As HSL: color: hsl(158, 18%, 79%); — As HEX: color: #C0D3CC; — As RGB: color: rgb(192, 211, 204); — Tailwind CSS: bg-[hsl(158,18%,79%)] — CSS variable: --color-primary: hsl(158, 18%, 79%);