HSL(162, 40%, 59%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(162,40%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 40%, 59%) | color: hsl(162, 40%, 59%) | |
| HEX | #6DC0A7 | color: #6DC0A7 | |
| RGB | rgb(109, 192, 167) | color: rgb(109, 192, 167) | |
| CMYK | cmyk(43%, 0%, 13%, 25%) | — | |
| HSV | hsv(162, 43%, 75%) | — | |
| HWB | hwb(162 43% 25%) | color: hwb(162 43% 25%) | |
| OKLCH | oklch(0.7477 0.0898 172.28) | color: oklch(0.7477 0.0898 172.28) | |
| Lab | lab(72.05 -31.24 4.74) | color: lab(72.05 -31.24 4.74) | |
| LCH | lch(72.05 31.6 171.37) | color: lch(72.05 31.6 171.37) |
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)
#9192AD — rgb(145, 146, 173)
Deuteranopia (Green-blind)
#8C86AF — rgb(140, 134, 175)
Tritanopia (Blue-blind)
#71B2B3 — rgb(113, 178, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 40%, 59%);
text
color: hsl(162, 40%, 59%);
border
border: 2px solid hsl(162, 40%, 59%);
gradient light
background: linear-gradient(to right, hsl(162, 40%, 79%), hsl(162, 40%, 59%));
gradient dark
background: linear-gradient(to right, hsl(162, 40%, 59%), hsl(162, 40%, 39%))
hex
background-color: #6DC0A7;
tailwind
bg-[hsl(162,40%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 40%, 59%, 0.4);
css variable
--color-primary: hsl(162, 40%, 59%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 40%, 59%)?
HEX: #6DC0A7 | RGB: rgb(109, 192, 167) | CMYK: 43%, 0%, 13%, 25% | HSV: 162°, 43%, 75%. Copy any format from the conversion table above.
What colors go well with #6DC0A7?
The complementary color is HSL(342, 40%, 59%). 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, 40%, 59%) in CSS?
As HSL: color: hsl(162, 40%, 59%); — As HEX: color: #6DC0A7; — As RGB: color: rgb(109, 192, 167); — Tailwind CSS: bg-[hsl(162,40%,59%)] — CSS variable: --color-primary: hsl(162, 40%, 59%);