HSL(166, 50%, 70%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,50%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 50%, 70%) | color: hsl(166, 50%, 70%) | |
| HEX | #8CD9C7 | color: #8CD9C7 | |
| RGB | rgb(140, 217, 199) | color: rgb(140, 217, 199) | |
| CMYK | cmyk(35%, 0%, 8%, 15%) | — | |
| HSV | hsv(166, 35%, 85%) | — | |
| HWB | hwb(166 55% 15%) | color: hwb(166 55% 15%) | |
| OKLCH | oklch(0.83 0.0807 177.77) | color: oklch(0.83 0.0807 177.77) | |
| Lab | lab(81.47 -27.75 1.35) | color: lab(81.47 -27.75 1.35) | |
| LCH | lch(81.47 27.78 177.21) | color: lch(81.47 27.78 177.21) |
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)
#ADAECB — rgb(173, 174, 203)
Deuteranopia (Green-blind)
#A9A3CC — rgb(169, 163, 204)
Tritanopia (Blue-blind)
#90CFD0 — rgb(144, 207, 208)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 50%, 70%);
text
color: hsl(166, 50%, 70%);
border
border: 2px solid hsl(166, 50%, 70%);
gradient light
background: linear-gradient(to right, hsl(166, 50%, 90%), hsl(166, 50%, 70%));
gradient dark
background: linear-gradient(to right, hsl(166, 50%, 70%), hsl(166, 50%, 50%))
hex
background-color: #8CD9C7;
tailwind
bg-[hsl(166,50%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 50%, 70%, 0.4);
css variable
--color-primary: hsl(166, 50%, 70%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 50%, 70%)?
HEX: #8CD9C7 | RGB: rgb(140, 217, 199) | CMYK: 35%, 0%, 8%, 15% | HSV: 166°, 35%, 85%. Copy any format from the conversion table above.
What colors go well with #8CD9C7?
The complementary color is HSL(346, 50%, 70%). 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%, 70%) in CSS?
As HSL: color: hsl(166, 50%, 70%); — As HEX: color: #8CD9C7; — As RGB: color: rgb(140, 217, 199); — Tailwind CSS: bg-[hsl(166,50%,70%)] — CSS variable: --color-primary: hsl(166, 50%, 70%);