HSL(173, 56%, 52%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(173,56%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(173, 56%, 52%) | color: hsl(173, 56%, 52%) | |
| HEX | #40C9B9 | color: #40C9B9 | |
| RGB | rgb(64, 201, 185) | color: rgb(64, 201, 185) | |
| CMYK | cmyk(68%, 0%, 8%, 21%) | — | |
| HSV | hsv(173, 68%, 79%) | — | |
| HWB | hwb(173 25% 21%) | color: hwb(173 25% 21%) | |
| OKLCH | oklch(0.7593 0.118 183.85) | color: oklch(0.7593 0.118 183.85) | |
| Lab | lab(73.78 -40.04 -2.7) | color: lab(73.78 -40.04 -2.7) | |
| LCH | lch(73.78 40.13 183.86) | color: lch(73.78 40.13 183.86) |
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)
#7B7DBD — rgb(123, 125, 189)
Deuteranopia (Green-blind)
#7369BE — rgb(115, 105, 190)
Tritanopia (Blue-blind)
#47C0C1 — rgb(71, 192, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(173, 56%, 52%);
text
color: hsl(173, 56%, 52%);
border
border: 2px solid hsl(173, 56%, 52%);
gradient light
background: linear-gradient(to right, hsl(173, 56%, 72%), hsl(173, 56%, 52%));
gradient dark
background: linear-gradient(to right, hsl(173, 56%, 52%), hsl(173, 56%, 32%))
hex
background-color: #40C9B9;
tailwind
bg-[hsl(173,56%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(173, 56%, 52%, 0.4);
css variable
--color-primary: hsl(173, 56%, 52%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(173, 56%, 52%)?
HEX: #40C9B9 | RGB: rgb(64, 201, 185) | CMYK: 68%, 0%, 8%, 21% | HSV: 173°, 68%, 79%. Copy any format from the conversion table above.
What colors go well with #40C9B9?
The complementary color is HSL(353, 56%, 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, 56%, 52%) in CSS?
As HSL: color: hsl(173, 56%, 52%); — As HEX: color: #40C9B9; — As RGB: color: rgb(64, 201, 185); — Tailwind CSS: bg-[hsl(173,56%,52%)] — CSS variable: --color-primary: hsl(173, 56%, 52%);