HSL(158, 50%, 62%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,50%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 50%, 62%) | color: hsl(158, 50%, 62%) | |
| HEX | #6ECFAB | color: #6ECFAB | |
| RGB | rgb(110, 207, 171) | color: rgb(110, 207, 171) | |
| CMYK | cmyk(47%, 0%, 17%, 19%) | — | |
| HSV | hsv(158, 47%, 81%) | — | |
| HWB | hwb(158 43% 19%) | color: hwb(158 43% 19%) | |
| OKLCH | oklch(0.785 0.1067 167.32) | color: oklch(0.785 0.1067 167.32) | |
| Lab | lab(76.61 -37.09 9.12) | color: lab(76.61 -37.09 9.12) | |
| LCH | lch(76.61 38.19 166.19) | color: lch(76.61 38.19 166.19) |
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)
#9899B4 — rgb(152, 153, 180)
Deuteranopia (Green-blind)
#928BB6 — rgb(146, 139, 182)
Tritanopia (Blue-blind)
#73BBBC — rgb(115, 187, 188)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 50%, 62%);
text
color: hsl(158, 50%, 62%);
border
border: 2px solid hsl(158, 50%, 62%);
gradient light
background: linear-gradient(to right, hsl(158, 50%, 82%), hsl(158, 50%, 62%));
gradient dark
background: linear-gradient(to right, hsl(158, 50%, 62%), hsl(158, 50%, 42%))
hex
background-color: #6ECFAB;
tailwind
bg-[hsl(158,50%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 50%, 62%, 0.4);
css variable
--color-primary: hsl(158, 50%, 62%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 50%, 62%)?
HEX: #6ECFAB | RGB: rgb(110, 207, 171) | CMYK: 47%, 0%, 17%, 19% | HSV: 158°, 47%, 81%. Copy any format from the conversion table above.
What colors go well with #6ECFAB?
The complementary color is HSL(338, 50%, 62%). 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, 50%, 62%) in CSS?
As HSL: color: hsl(158, 50%, 62%); — As HEX: color: #6ECFAB; — As RGB: color: rgb(110, 207, 171); — Tailwind CSS: bg-[hsl(158,50%,62%)] — CSS variable: --color-primary: hsl(158, 50%, 62%);