HSL(158, 73%, 40%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,73%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 73%, 40%) | color: hsl(158, 73%, 40%) | |
| HEX | #1CB07A | color: #1CB07A | |
| RGB | rgb(28, 176, 122) | color: rgb(28, 176, 122) | |
| CMYK | cmyk(84%, 0%, 31%, 31%) | — | |
| HSV | hsv(158, 84%, 69%) | — | |
| HWB | hwb(158 11% 31%) | color: hwb(158 11% 31%) | |
| OKLCH | oklch(0.6718 0.1419 161.77) | color: oklch(0.6718 0.1419 161.77) | |
| Lab | lab(63.92 -49.5 17.49) | color: lab(63.92 -49.5 17.49) | |
| LCH | lch(63.92 52.5 160.54) | color: lch(63.92 52.5 160.54) |
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)
#5C5D87 — rgb(92, 93, 135)
Deuteranopia (Green-blind)
#54488A — rgb(84, 72, 138)
Tritanopia (Blue-blind)
#239194 — rgb(35, 145, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 73%, 40%);
text
color: hsl(158, 73%, 40%);
border
border: 2px solid hsl(158, 73%, 40%);
gradient light
background: linear-gradient(to right, hsl(158, 73%, 60%), hsl(158, 73%, 40%));
gradient dark
background: linear-gradient(to right, hsl(158, 73%, 40%), hsl(158, 73%, 20%))
hex
background-color: #1CB07A;
tailwind
bg-[hsl(158,73%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 73%, 40%, 0.4);
css variable
--color-primary: hsl(158, 73%, 40%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 73%, 40%)?
HEX: #1CB07A | RGB: rgb(28, 176, 122) | CMYK: 84%, 0%, 31%, 31% | HSV: 158°, 84%, 69%. Copy any format from the conversion table above.
What colors go well with #1CB07A?
The complementary color is HSL(338, 73%, 40%). 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, 73%, 40%) in CSS?
As HSL: color: hsl(158, 73%, 40%); — As HEX: color: #1CB07A; — As RGB: color: rgb(28, 176, 122); — Tailwind CSS: bg-[hsl(158,73%,40%)] — CSS variable: --color-primary: hsl(158, 73%, 40%);