HSL(166, 50%, 79%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,50%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 50%, 79%) | color: hsl(166, 50%, 79%) | |
| HEX | #AFE4D8 | color: #AFE4D8 | |
| RGB | rgb(175, 228, 216) | color: rgb(175, 228, 216) | |
| CMYK | cmyk(23%, 0%, 5%, 11%) | — | |
| HSV | hsv(166, 23%, 89%) | — | |
| HWB | hwb(166 69% 11%) | color: hwb(166 69% 11%) | |
| OKLCH | oklch(0.8788 0.0569 179.46) | color: oklch(0.8788 0.0569 179.46) | |
| Lab | lab(86.78 -19.37 0.31) | color: lab(86.78 -19.37 0.31) | |
| LCH | lch(86.78 19.37 179.08) | color: lch(86.78 19.37 179.08) |
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)
#C6C6DB — rgb(198, 198, 219)
Deuteranopia (Green-blind)
#C3BFDC — rgb(195, 191, 220)
Tritanopia (Blue-blind)
#B2DDDE — rgb(178, 221, 222)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 50%, 79%);
text
color: hsl(166, 50%, 79%);
border
border: 2px solid hsl(166, 50%, 79%);
gradient light
background: linear-gradient(to right, hsl(166, 50%, 99%), hsl(166, 50%, 79%));
gradient dark
background: linear-gradient(to right, hsl(166, 50%, 79%), hsl(166, 50%, 59%))
hex
background-color: #AFE4D8;
tailwind
bg-[hsl(166,50%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 50%, 79%, 0.4);
css variable
--color-primary: hsl(166, 50%, 79%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 50%, 79%)?
HEX: #AFE4D8 | RGB: rgb(175, 228, 216) | CMYK: 23%, 0%, 5%, 11% | HSV: 166°, 23%, 89%. Copy any format from the conversion table above.
What colors go well with #AFE4D8?
The complementary color is HSL(346, 50%, 79%). For a triadic harmony, use hues 166°, 286°, and 46°. For analogous combinations, try hues 136° and 196°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(166, 50%, 79%) in CSS?
As HSL: color: hsl(166, 50%, 79%); — As HEX: color: #AFE4D8; — As RGB: color: rgb(175, 228, 216); — Tailwind CSS: bg-[hsl(166,50%,79%)] — CSS variable: --color-primary: hsl(166, 50%, 79%);