HSL(172, 95%, 84%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,95%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 95%, 84%) | color: hsl(172, 95%, 84%) | |
| HEX | #AFFDF3 | color: #AFFDF3 | |
| RGB | rgb(175, 253, 243) | color: rgb(175, 253, 243) | |
| CMYK | cmyk(31%, 0%, 4%, 1%) | — | |
| HSV | hsv(172, 31%, 99%) | — | |
| HWB | hwb(172 68% 1%) | color: hwb(172 68% 1%) | |
| OKLCH | oklch(0.9407 0.0776 185.94) | color: oklch(0.9407 0.0776 185.94) | |
| Lab | lab(94.24 -25.85 -2.84) | color: lab(94.24 -25.85 -2.84) | |
| LCH | lch(94.24 26.01 186.27) | color: lch(94.24 26.01 186.27) |
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)
#D1D1F5 — rgb(209, 209, 245)
Deuteranopia (Green-blind)
#CCC6F6 — rgb(204, 198, 246)
Tritanopia (Blue-blind)
#B3F7F8 — rgb(179, 247, 248)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 95%, 84%);
text
color: hsl(172, 95%, 84%);
border
border: 2px solid hsl(172, 95%, 84%);
gradient light
background: linear-gradient(to right, hsl(172, 95%, 100%), hsl(172, 95%, 84%));
gradient dark
background: linear-gradient(to right, hsl(172, 95%, 84%), hsl(172, 95%, 64%))
hex
background-color: #AFFDF3;
tailwind
bg-[hsl(172,95%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 95%, 84%, 0.4);
css variable
--color-primary: hsl(172, 95%, 84%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 95%, 84%)?
HEX: #AFFDF3 | RGB: rgb(175, 253, 243) | CMYK: 31%, 0%, 4%, 1% | HSV: 172°, 31%, 99%. Copy any format from the conversion table above.
What colors go well with #AFFDF3?
The complementary color is HSL(352, 95%, 84%). 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%, 84%) in CSS?
As HSL: color: hsl(172, 95%, 84%); — As HEX: color: #AFFDF3; — As RGB: color: rgb(175, 253, 243); — Tailwind CSS: bg-[hsl(172,95%,84%)] — CSS variable: --color-primary: hsl(172, 95%, 84%);