HSL(152, 70%, 52%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(152,70%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 70%, 52%) | color: hsl(152, 70%, 52%) | |
| HEX | #2FDA8A | color: #2FDA8A | |
| RGB | rgb(47, 218, 138) | color: rgb(47, 218, 138) | |
| CMYK | cmyk(78%, 0%, 37%, 15%) | — | |
| HSV | hsv(152, 78%, 85%) | — | |
| HWB | hwb(152 19% 15%) | color: hwb(152 19% 15%) | |
| OKLCH | oklch(0.7866 0.1763 156.82) | color: oklch(0.7866 0.1763 156.82) | |
| Lab | lab(77.63 -60.02 27.67) | color: lab(77.63 -60.02 27.67) | |
| LCH | lch(77.63 66.09 155.25) | color: lch(77.63 66.09 155.25) |
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)
#797B9D — rgb(121, 123, 157)
Deuteranopia (Green-blind)
#6F62A2 — rgb(111, 98, 162)
Tritanopia (Blue-blind)
#38ADB0 — rgb(56, 173, 176)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 70%, 52%);
text
color: hsl(152, 70%, 52%);
border
border: 2px solid hsl(152, 70%, 52%);
gradient light
background: linear-gradient(to right, hsl(152, 70%, 72%), hsl(152, 70%, 52%));
gradient dark
background: linear-gradient(to right, hsl(152, 70%, 52%), hsl(152, 70%, 32%))
hex
background-color: #2FDA8A;
tailwind
bg-[hsl(152,70%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 70%, 52%, 0.4);
css variable
--color-primary: hsl(152, 70%, 52%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(152, 70%, 52%)?
HEX: #2FDA8A | RGB: rgb(47, 218, 138) | CMYK: 78%, 0%, 37%, 15% | HSV: 152°, 78%, 85%. Copy any format from the conversion table above.
What colors go well with #2FDA8A?
The complementary color is HSL(332, 70%, 52%). For a triadic harmony, use hues 152°, 272°, and 32°. For analogous combinations, try hues 122° and 182°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(152, 70%, 52%) in CSS?
As HSL: color: hsl(152, 70%, 52%); — As HEX: color: #2FDA8A; — As RGB: color: rgb(47, 218, 138); — Tailwind CSS: bg-[hsl(152,70%,52%)] — CSS variable: --color-primary: hsl(152, 70%, 52%);