HSL(159, 20%, 52%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(159,20%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 20%, 52%) | color: hsl(159, 20%, 52%) | |
| HEX | #6C9D8C | color: #6C9D8C | |
| RGB | rgb(108, 157, 140) | color: rgb(108, 157, 140) | |
| CMYK | cmyk(31%, 0%, 11%, 38%) | — | |
| HSV | hsv(159, 31%, 62%) | — | |
| HWB | hwb(159 43% 38%) | color: hwb(159 43% 38%) | |
| OKLCH | oklch(0.656 0.0586 170.8) | color: oklch(0.656 0.0586 170.8) | |
| Lab | lab(60.95 -20.24 3.66) | color: lab(60.95 -20.24 3.66) | |
| LCH | lch(60.95 20.57 169.75) | color: lch(60.95 20.57 169.75) |
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)
#818290 — rgb(129, 130, 144)
Deuteranopia (Green-blind)
#7E7B91 — rgb(126, 123, 145)
Tritanopia (Blue-blind)
#6E9394 — rgb(110, 147, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 20%, 52%);
text
color: hsl(159, 20%, 52%);
border
border: 2px solid hsl(159, 20%, 52%);
gradient light
background: linear-gradient(to right, hsl(159, 20%, 72%), hsl(159, 20%, 52%));
gradient dark
background: linear-gradient(to right, hsl(159, 20%, 52%), hsl(159, 20%, 32%))
hex
background-color: #6C9D8C;
tailwind
bg-[hsl(159,20%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 20%, 52%, 0.4);
css variable
--color-primary: hsl(159, 20%, 52%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(159, 20%, 52%)?
HEX: #6C9D8C | RGB: rgb(108, 157, 140) | CMYK: 31%, 0%, 11%, 38% | HSV: 159°, 31%, 62%. Copy any format from the conversion table above.
What colors go well with #6C9D8C?
The complementary color is HSL(339, 20%, 52%). For a triadic harmony, use hues 159°, 279°, and 39°. For analogous combinations, try hues 129° and 189°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(159, 20%, 52%) in CSS?
As HSL: color: hsl(159, 20%, 52%); — As HEX: color: #6C9D8C; — As RGB: color: rgb(108, 157, 140); — Tailwind CSS: bg-[hsl(159,20%,52%)] — CSS variable: --color-primary: hsl(159, 20%, 52%);