HSL(159, 100%, 18%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(159,100%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 100%, 18%) | color: hsl(159, 100%, 18%) | |
| HEX | #005C3C | color: #005C3C | |
| RGB | rgb(0, 92, 60) | color: rgb(0, 92, 60) | |
| CMYK | cmyk(100%, 0%, 35%, 64%) | — | |
| HSV | hsv(159, 100%, 36%) | — | |
| HWB | hwb(159 0% 64%) | color: hwb(159 0% 64%) | |
| OKLCH | oklch(0.4193 0.0931 161.19) | color: oklch(0.4193 0.0931 161.19) | |
| Lab | lab(33.94 -32.5 11.86) | color: lab(33.94 -32.5 11.86) | |
| LCH | lch(33.94 34.6 159.95) | color: lch(33.94 34.6 159.95) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#282944 — rgb(40, 41, 68)
Deuteranopia (Green-blind)
#231C46 — rgb(35, 28, 70)
Tritanopia (Blue-blind)
#054A4B — rgb(5, 74, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 100%, 18%);
text
color: hsl(159, 100%, 18%);
border
border: 2px solid hsl(159, 100%, 18%);
gradient light
background: linear-gradient(to right, hsl(159, 100%, 38%), hsl(159, 100%, 18%));
gradient dark
background: linear-gradient(to right, hsl(159, 100%, 18%), hsl(159, 100%, 0%))
hex
background-color: #005C3C;
tailwind
bg-[hsl(159,100%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 100%, 18%, 0.4);
css variable
--color-primary: hsl(159, 100%, 18%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(159, 100%, 18%)?
HEX: #005C3C | RGB: rgb(0, 92, 60) | CMYK: 100%, 0%, 35%, 64% | HSV: 159°, 100%, 36%. Copy any format from the conversion table above.
What colors go well with #005C3C?
The complementary color is HSL(339, 100%, 18%). 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, 100%, 18%) in CSS?
As HSL: color: hsl(159, 100%, 18%); — As HEX: color: #005C3C; — As RGB: color: rgb(0, 92, 60); — Tailwind CSS: bg-[hsl(159,100%,18%)] — CSS variable: --color-primary: hsl(159, 100%, 18%);