HSL(158, 70%, 52%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,70%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 70%, 52%) | color: hsl(158, 70%, 52%) | |
| HEX | #2FDA9B | color: #2FDA9B | |
| RGB | rgb(47, 218, 155) | color: rgb(47, 218, 155) | |
| CMYK | cmyk(78%, 0%, 29%, 15%) | — | |
| HSV | hsv(158, 78%, 85%) | — | |
| HWB | hwb(158 19% 15%) | color: hwb(158 19% 15%) | |
| OKLCH | oklch(0.7902 0.1618 162.4) | color: oklch(0.7902 0.1618 162.4) | |
| Lab | lab(77.94 -56.51 19.25) | color: lab(77.94 -56.51 19.25) | |
| LCH | lch(77.94 59.7 161.19) | color: lch(77.94 59.7 161.19) |
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)
#797BAA — rgb(121, 123, 170)
Deuteranopia (Green-blind)
#6F62AE — rgb(111, 98, 174)
Tritanopia (Blue-blind)
#38B6B9 — rgb(56, 182, 185)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 70%, 52%);
text
color: hsl(158, 70%, 52%);
border
border: 2px solid hsl(158, 70%, 52%);
gradient light
background: linear-gradient(to right, hsl(158, 70%, 72%), hsl(158, 70%, 52%));
gradient dark
background: linear-gradient(to right, hsl(158, 70%, 52%), hsl(158, 70%, 32%))
hex
background-color: #2FDA9B;
tailwind
bg-[hsl(158,70%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 70%, 52%, 0.4);
css variable
--color-primary: hsl(158, 70%, 52%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 70%, 52%)?
HEX: #2FDA9B | RGB: rgb(47, 218, 155) | CMYK: 78%, 0%, 29%, 15% | HSV: 158°, 78%, 85%. Copy any format from the conversion table above.
What colors go well with #2FDA9B?
The complementary color is HSL(338, 70%, 52%). 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, 70%, 52%) in CSS?
As HSL: color: hsl(158, 70%, 52%); — As HEX: color: #2FDA9B; — As RGB: color: rgb(47, 218, 155); — Tailwind CSS: bg-[hsl(158,70%,52%)] — CSS variable: --color-primary: hsl(158, 70%, 52%);