HSL(170, 70%, 50%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(170,70%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(170, 70%, 50%) | color: hsl(170, 70%, 50%) | |
| HEX | #26D9BB | color: #26D9BB | |
| RGB | rgb(38, 217, 187) | color: rgb(38, 217, 187) | |
| CMYK | cmyk(82%, 0%, 14%, 15%) | — | |
| HSV | hsv(170, 82%, 85%) | — | |
| HWB | hwb(170 15% 15%) | color: hwb(170 15% 15%) | |
| OKLCH | oklch(0.7947 0.1409 177.41) | color: oklch(0.7947 0.1409 177.41) | |
| Lab | lab(78.24 -49.28 2.69) | color: lab(78.24 -49.28 2.69) | |
| LCH | lch(78.24 49.35 176.88) | color: lch(78.24 49.35 176.88) |
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)
#7475C2 — rgb(116, 117, 194)
Deuteranopia (Green-blind)
#695CC4 — rgb(105, 92, 196)
Tritanopia (Blue-blind)
#2FC8C9 — rgb(47, 200, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(170, 70%, 50%);
text
color: hsl(170, 70%, 50%);
border
border: 2px solid hsl(170, 70%, 50%);
gradient light
background: linear-gradient(to right, hsl(170, 70%, 70%), hsl(170, 70%, 50%));
gradient dark
background: linear-gradient(to right, hsl(170, 70%, 50%), hsl(170, 70%, 30%))
hex
background-color: #26D9BB;
tailwind
bg-[hsl(170,70%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(170, 70%, 50%, 0.4);
css variable
--color-primary: hsl(170, 70%, 50%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(170, 70%, 50%)?
HEX: #26D9BB | RGB: rgb(38, 217, 187) | CMYK: 82%, 0%, 14%, 15% | HSV: 170°, 82%, 85%. Copy any format from the conversion table above.
What colors go well with #26D9BB?
The complementary color is HSL(350, 70%, 50%). For a triadic harmony, use hues 170°, 290°, and 50°. For analogous combinations, try hues 140° and 200°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(170, 70%, 50%) in CSS?
As HSL: color: hsl(170, 70%, 50%); — As HEX: color: #26D9BB; — As RGB: color: rgb(38, 217, 187); — Tailwind CSS: bg-[hsl(170,70%,50%)] — CSS variable: --color-primary: hsl(170, 70%, 50%);