HSL(178, 50%, 79%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(178,50%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(178, 50%, 79%) | color: hsl(178, 50%, 79%) | |
| HEX | #AFE4E2 | color: #AFE4E2 | |
| RGB | rgb(175, 228, 226) | color: rgb(175, 228, 226) | |
| CMYK | cmyk(23%, 0%, 1%, 11%) | — | |
| HSV | hsv(178, 23%, 89%) | — | |
| HWB | hwb(178 69% 11%) | color: hwb(178 69% 11%) | |
| OKLCH | oklch(0.8818 0.0543 193.32) | color: oklch(0.8818 0.0543 193.32) | |
| Lab | lab(87.04 -17.27 -4.56) | color: lab(87.04 -17.27 -4.56) | |
| LCH | lch(87.04 17.86 194.79) | color: lch(87.04 17.86 194.79) |
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)
#C6C6E2 — rgb(198, 198, 226)
Deuteranopia (Green-blind)
#C3BFE3 — rgb(195, 191, 227)
Tritanopia (Blue-blind)
#B2E3E3 — rgb(178, 227, 227)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(178, 50%, 79%);
text
color: hsl(178, 50%, 79%);
border
border: 2px solid hsl(178, 50%, 79%);
gradient light
background: linear-gradient(to right, hsl(178, 50%, 99%), hsl(178, 50%, 79%));
gradient dark
background: linear-gradient(to right, hsl(178, 50%, 79%), hsl(178, 50%, 59%))
hex
background-color: #AFE4E2;
tailwind
bg-[hsl(178,50%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(178, 50%, 79%, 0.4);
css variable
--color-primary: hsl(178, 50%, 79%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(178, 50%, 79%)?
HEX: #AFE4E2 | RGB: rgb(175, 228, 226) | CMYK: 23%, 0%, 1%, 11% | HSV: 178°, 23%, 89%. Copy any format from the conversion table above.
What colors go well with #AFE4E2?
The complementary color is HSL(358, 50%, 79%). For a triadic harmony, use hues 178°, 298°, and 58°. For analogous combinations, try hues 148° and 208°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(178, 50%, 79%) in CSS?
As HSL: color: hsl(178, 50%, 79%); — As HEX: color: #AFE4E2; — As RGB: color: rgb(175, 228, 226); — Tailwind CSS: bg-[hsl(178,50%,79%)] — CSS variable: --color-primary: hsl(178, 50%, 79%);