HSL(162, 50%, 79%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(162,50%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 50%, 79%) | color: hsl(162, 50%, 79%) | |
| HEX | #AFE4D4 | color: #AFE4D4 | |
| RGB | rgb(175, 228, 212) | color: rgb(175, 228, 212) | |
| CMYK | cmyk(23%, 0%, 7%, 11%) | — | |
| HSV | hsv(162, 23%, 89%) | — | |
| HWB | hwb(162 69% 11%) | color: hwb(162 69% 11%) | |
| OKLCH | oklch(0.8777 0.0588 174.42) | color: oklch(0.8777 0.0588 174.42) | |
| Lab | lab(86.68 -20.19 2.27) | color: lab(86.68 -20.19 2.27) | |
| LCH | lch(86.68 20.32 173.59) | color: lch(86.68 20.32 173.59) |
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)
#C6C6D8 — rgb(198, 198, 216)
Deuteranopia (Green-blind)
#C3BFD9 — rgb(195, 191, 217)
Tritanopia (Blue-blind)
#B2DBDC — rgb(178, 219, 220)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 50%, 79%);
text
color: hsl(162, 50%, 79%);
border
border: 2px solid hsl(162, 50%, 79%);
gradient light
background: linear-gradient(to right, hsl(162, 50%, 99%), hsl(162, 50%, 79%));
gradient dark
background: linear-gradient(to right, hsl(162, 50%, 79%), hsl(162, 50%, 59%))
hex
background-color: #AFE4D4;
tailwind
bg-[hsl(162,50%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 50%, 79%, 0.4);
css variable
--color-primary: hsl(162, 50%, 79%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 50%, 79%)?
HEX: #AFE4D4 | RGB: rgb(175, 228, 212) | CMYK: 23%, 0%, 7%, 11% | HSV: 162°, 23%, 89%. Copy any format from the conversion table above.
What colors go well with #AFE4D4?
The complementary color is HSL(342, 50%, 79%). For a triadic harmony, use hues 162°, 282°, and 42°. For analogous combinations, try hues 132° and 192°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(162, 50%, 79%) in CSS?
As HSL: color: hsl(162, 50%, 79%); — As HEX: color: #AFE4D4; — As RGB: color: rgb(175, 228, 212); — Tailwind CSS: bg-[hsl(162,50%,79%)] — CSS variable: --color-primary: hsl(162, 50%, 79%);