HSL(158, 73%, 45%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,73%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 73%, 45%) | color: hsl(158, 73%, 45%) | |
| HEX | #1FC789 | color: #1FC789 | |
| RGB | rgb(31, 199, 137) | color: rgb(31, 199, 137) | |
| CMYK | cmyk(84%, 0%, 31%, 22%) | — | |
| HSV | hsv(158, 84%, 78%) | — | |
| HWB | hwb(158 12% 22%) | color: hwb(158 12% 22%) | |
| OKLCH | oklch(0.7355 0.1571 161.3) | color: oklch(0.7355 0.1571 161.3) | |
| Lab | lab(71.51 -54.73 19.87) | color: lab(71.51 -54.73 19.87) | |
| LCH | lch(71.51 58.23 160.05) | color: lch(71.51 58.23 160.05) |
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)
#686998 — rgb(104, 105, 152)
Deuteranopia (Green-blind)
#5E519C — rgb(94, 81, 156)
Tritanopia (Blue-blind)
#27A4A6 — rgb(39, 164, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 73%, 45%);
text
color: hsl(158, 73%, 45%);
border
border: 2px solid hsl(158, 73%, 45%);
gradient light
background: linear-gradient(to right, hsl(158, 73%, 65%), hsl(158, 73%, 45%));
gradient dark
background: linear-gradient(to right, hsl(158, 73%, 45%), hsl(158, 73%, 25%))
hex
background-color: #1FC789;
tailwind
bg-[hsl(158,73%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 73%, 45%, 0.4);
css variable
--color-primary: hsl(158, 73%, 45%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 73%, 45%)?
HEX: #1FC789 | RGB: rgb(31, 199, 137) | CMYK: 84%, 0%, 31%, 22% | HSV: 158°, 84%, 78%. Copy any format from the conversion table above.
What colors go well with #1FC789?
The complementary color is HSL(338, 73%, 45%). 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%, 45%) in CSS?
As HSL: color: hsl(158, 73%, 45%); — As HEX: color: #1FC789; — As RGB: color: rgb(31, 199, 137); — Tailwind CSS: bg-[hsl(158,73%,45%)] — CSS variable: --color-primary: hsl(158, 73%, 45%);