HSL(152, 87%, 60%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(152,87%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 87%, 60%) | color: hsl(152, 87%, 60%) | |
| HEX | #40F29F | color: #40F29F | |
| RGB | rgb(64, 242, 159) | color: rgb(64, 242, 159) | |
| CMYK | cmyk(74%, 0%, 34%, 5%) | — | |
| HSV | hsv(152, 74%, 95%) | — | |
| HWB | hwb(152 25% 5%) | color: hwb(152 25% 5%) | |
| OKLCH | oklch(0.8539 0.1834 157.7) | color: oklch(0.8539 0.1834 157.7) | |
| Lab | lab(85.55 -62.65 27.64) | color: lab(85.55 -62.65 27.64) | |
| LCH | lch(85.55 68.48 156.19) | color: lch(85.55 68.48 156.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)
#8D8FB3 — rgb(141, 143, 179)
Deuteranopia (Green-blind)
#8375B8 — rgb(131, 117, 184)
Tritanopia (Blue-blind)
#49C3C6 — rgb(73, 195, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 87%, 60%);
text
color: hsl(152, 87%, 60%);
border
border: 2px solid hsl(152, 87%, 60%);
gradient light
background: linear-gradient(to right, hsl(152, 87%, 80%), hsl(152, 87%, 60%));
gradient dark
background: linear-gradient(to right, hsl(152, 87%, 60%), hsl(152, 87%, 40%))
hex
background-color: #40F29F;
tailwind
bg-[hsl(152,87%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 87%, 60%, 0.4);
css variable
--color-primary: hsl(152, 87%, 60%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(152, 87%, 60%)?
HEX: #40F29F | RGB: rgb(64, 242, 159) | CMYK: 74%, 0%, 34%, 5% | HSV: 152°, 74%, 95%. Copy any format from the conversion table above.
What colors go well with #40F29F?
The complementary color is HSL(332, 87%, 60%). 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, 87%, 60%) in CSS?
As HSL: color: hsl(152, 87%, 60%); — As HEX: color: #40F29F; — As RGB: color: rgb(64, 242, 159); — Tailwind CSS: bg-[hsl(152,87%,60%)] — CSS variable: --color-primary: hsl(152, 87%, 60%);