HSL(158, 20%, 63%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,20%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 20%, 63%) | color: hsl(158, 20%, 63%) | |
| HEX | #8EB4A6 | color: #8EB4A6 | |
| RGB | rgb(142, 180, 166) | color: rgb(142, 180, 166) | |
| CMYK | cmyk(21%, 0%, 8%, 29%) | — | |
| HSV | hsv(158, 21%, 71%) | — | |
| HWB | hwb(158 56% 29%) | color: hwb(158 56% 29%) | |
| OKLCH | oklch(0.738 0.0458 170.53) | color: oklch(0.738 0.0458 170.53) | |
| Lab | lab(70.28 -15.71 2.93) | color: lab(70.28 -15.71 2.93) | |
| LCH | lch(70.28 15.98 169.44) | color: lch(70.28 15.98 169.44) |
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)
#9E9FA9 — rgb(158, 159, 169)
Deuteranopia (Green-blind)
#9C99AA — rgb(156, 153, 170)
Tritanopia (Blue-blind)
#90ACAD — rgb(144, 172, 173)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 20%, 63%);
text
color: hsl(158, 20%, 63%);
border
border: 2px solid hsl(158, 20%, 63%);
gradient light
background: linear-gradient(to right, hsl(158, 20%, 83%), hsl(158, 20%, 63%));
gradient dark
background: linear-gradient(to right, hsl(158, 20%, 63%), hsl(158, 20%, 43%))
hex
background-color: #8EB4A6;
tailwind
bg-[hsl(158,20%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 20%, 63%, 0.4);
css variable
--color-primary: hsl(158, 20%, 63%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 20%, 63%)?
HEX: #8EB4A6 | RGB: rgb(142, 180, 166) | CMYK: 21%, 0%, 8%, 29% | HSV: 158°, 21%, 71%. Copy any format from the conversion table above.
What colors go well with #8EB4A6?
The complementary color is HSL(338, 20%, 63%). For a triadic harmony, use hues 158°, 278°, and 38°. For analogous combinations, try hues 128° and 188°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(158, 20%, 63%) in CSS?
As HSL: color: hsl(158, 20%, 63%); — As HEX: color: #8EB4A6; — As RGB: color: rgb(142, 180, 166); — Tailwind CSS: bg-[hsl(158,20%,63%)] — CSS variable: --color-primary: hsl(158, 20%, 63%);