HSL(172, 95%, 62%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,95%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 95%, 62%) | color: hsl(172, 95%, 62%) | |
| HEX | #42FAE2 | color: #42FAE2 | |
| RGB | rgb(66, 250, 226) | color: rgb(66, 250, 226) | |
| CMYK | cmyk(74%, 0%, 10%, 2%) | — | |
| HSV | hsv(172, 74%, 98%) | — | |
| HWB | hwb(172 25% 2%) | color: hwb(172 25% 2%) | |
| OKLCH | oklch(0.8903 0.1465 181.95) | color: oklch(0.8903 0.1465 181.95) | |
| Lab | lab(89.4 -50.27 -1.54) | color: lab(89.4 -50.27 -1.54) | |
| LCH | lch(89.4 50.29 181.75) | color: lch(89.4 50.29 181.75) |
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)
#9293E8 — rgb(146, 147, 232)
Deuteranopia (Green-blind)
#8779E9 — rgb(135, 121, 233)
Tritanopia (Blue-blind)
#4BECED — rgb(75, 236, 237)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 95%, 62%);
text
color: hsl(172, 95%, 62%);
border
border: 2px solid hsl(172, 95%, 62%);
gradient light
background: linear-gradient(to right, hsl(172, 95%, 82%), hsl(172, 95%, 62%));
gradient dark
background: linear-gradient(to right, hsl(172, 95%, 62%), hsl(172, 95%, 42%))
hex
background-color: #42FAE2;
tailwind
bg-[hsl(172,95%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 95%, 62%, 0.4);
css variable
--color-primary: hsl(172, 95%, 62%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 95%, 62%)?
HEX: #42FAE2 | RGB: rgb(66, 250, 226) | CMYK: 74%, 0%, 10%, 2% | HSV: 172°, 74%, 98%. Copy any format from the conversion table above.
What colors go well with #42FAE2?
The complementary color is HSL(352, 95%, 62%). 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, 95%, 62%) in CSS?
As HSL: color: hsl(172, 95%, 62%); — As HEX: color: #42FAE2; — As RGB: color: rgb(66, 250, 226); — Tailwind CSS: bg-[hsl(172,95%,62%)] — CSS variable: --color-primary: hsl(172, 95%, 62%);