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
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
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
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
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%);