HSL(172, 40%, 59%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,40%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 40%, 59%) | color: hsl(172, 40%, 59%) | |
| HEX | #6DC0B5 | color: #6DC0B5 | |
| RGB | rgb(109, 192, 181) | color: rgb(109, 192, 181) | |
| CMYK | cmyk(43%, 0%, 6%, 25%) | — | |
| HSV | hsv(172, 43%, 75%) | — | |
| HWB | hwb(172 43% 25%) | color: hwb(172 43% 25%) | |
| OKLCH | oklch(0.7519 0.0831 184.68) | color: oklch(0.7519 0.0831 184.68) | |
| Lab | lab(72.42 -27.95 -2.36) | color: lab(72.42 -27.95 -2.36) | |
| LCH | lch(72.42 28.05 184.83) | color: lch(72.42 28.05 184.83) |
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)
#9192B8 — rgb(145, 146, 184)
Deuteranopia (Green-blind)
#8C86B8 — rgb(140, 134, 184)
Tritanopia (Blue-blind)
#71BABA — rgb(113, 186, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 40%, 59%);
text
color: hsl(172, 40%, 59%);
border
border: 2px solid hsl(172, 40%, 59%);
gradient light
background: linear-gradient(to right, hsl(172, 40%, 79%), hsl(172, 40%, 59%));
gradient dark
background: linear-gradient(to right, hsl(172, 40%, 59%), hsl(172, 40%, 39%))
hex
background-color: #6DC0B5;
tailwind
bg-[hsl(172,40%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 40%, 59%, 0.4);
css variable
--color-primary: hsl(172, 40%, 59%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 40%, 59%)?
HEX: #6DC0B5 | RGB: rgb(109, 192, 181) | CMYK: 43%, 0%, 6%, 25% | HSV: 172°, 43%, 75%. Copy any format from the conversion table above.
What colors go well with #6DC0B5?
The complementary color is HSL(352, 40%, 59%). For a triadic harmony, use hues 172°, 292°, and 52°. For analogous combinations, try hues 142° and 202°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(172, 40%, 59%) in CSS?
As HSL: color: hsl(172, 40%, 59%); — As HEX: color: #6DC0B5; — As RGB: color: rgb(109, 192, 181); — Tailwind CSS: bg-[hsl(172,40%,59%)] — CSS variable: --color-primary: hsl(172, 40%, 59%);