HSL(173, 70%, 52%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(173,70%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(173, 70%, 52%) | color: hsl(173, 70%, 52%) | |
| HEX | #2FDAC6 | color: #2FDAC6 | |
| RGB | rgb(47, 218, 198) | color: rgb(47, 218, 198) | |
| CMYK | cmyk(78%, 0%, 9%, 15%) | — | |
| HSV | hsv(173, 78%, 85%) | — | |
| HWB | hwb(173 19% 15%) | color: hwb(173 19% 15%) | |
| OKLCH | oklch(0.8017 0.1346 182.79) | color: oklch(0.8017 0.1346 182.79) | |
| Lab | lab(78.94 -46.01 -2.15) | color: lab(78.94 -46.01 -2.15) | |
| LCH | lch(78.94 46.06 182.68) | color: lch(78.94 46.06 182.68) |
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)
#797BCB — rgb(121, 123, 203)
Deuteranopia (Green-blind)
#6F62CC — rgb(111, 98, 204)
Tritanopia (Blue-blind)
#38CFD0 — rgb(56, 207, 208)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(173, 70%, 52%);
text
color: hsl(173, 70%, 52%);
border
border: 2px solid hsl(173, 70%, 52%);
gradient light
background: linear-gradient(to right, hsl(173, 70%, 72%), hsl(173, 70%, 52%));
gradient dark
background: linear-gradient(to right, hsl(173, 70%, 52%), hsl(173, 70%, 32%))
hex
background-color: #2FDAC6;
tailwind
bg-[hsl(173,70%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(173, 70%, 52%, 0.4);
css variable
--color-primary: hsl(173, 70%, 52%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(173, 70%, 52%)?
HEX: #2FDAC6 | RGB: rgb(47, 218, 198) | CMYK: 78%, 0%, 9%, 15% | HSV: 173°, 78%, 85%. Copy any format from the conversion table above.
What colors go well with #2FDAC6?
The complementary color is HSL(353, 70%, 52%). For a triadic harmony, use hues 173°, 293°, and 53°. For analogous combinations, try hues 143° and 203°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(173, 70%, 52%) in CSS?
As HSL: color: hsl(173, 70%, 52%); — As HEX: color: #2FDAC6; — As RGB: color: rgb(47, 218, 198); — Tailwind CSS: bg-[hsl(173,70%,52%)] — CSS variable: --color-primary: hsl(173, 70%, 52%);