HSL(159, 49%, 49%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(159,49%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 49%, 49%) | color: hsl(159, 49%, 49%) | |
| HEX | #40BA8F | color: #40BA8F | |
| RGB | rgb(64, 186, 143) | color: rgb(64, 186, 143) | |
| CMYK | cmyk(66%, 0%, 23%, 27%) | — | |
| HSV | hsv(159, 66%, 73%) | — | |
| HWB | hwb(159 25% 27%) | color: hwb(159 25% 27%) | |
| OKLCH | oklch(0.71 0.1256 165.78) | color: oklch(0.71 0.1256 165.78) | |
| Lab | lab(68.16 -43.99 12.05) | color: lab(68.16 -43.99 12.05) | |
| LCH | lch(68.16 45.61 164.68) | color: lch(68.16 45.61 164.68) |
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)
#757699 — rgb(117, 118, 153)
Deuteranopia (Green-blind)
#6E659C — rgb(110, 101, 156)
Tritanopia (Blue-blind)
#46A2A3 — rgb(70, 162, 163)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 49%, 49%);
text
color: hsl(159, 49%, 49%);
border
border: 2px solid hsl(159, 49%, 49%);
gradient light
background: linear-gradient(to right, hsl(159, 49%, 69%), hsl(159, 49%, 49%));
gradient dark
background: linear-gradient(to right, hsl(159, 49%, 49%), hsl(159, 49%, 29%))
hex
background-color: #40BA8F;
tailwind
bg-[hsl(159,49%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 49%, 49%, 0.4);
css variable
--color-primary: hsl(159, 49%, 49%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(159, 49%, 49%)?
HEX: #40BA8F | RGB: rgb(64, 186, 143) | CMYK: 66%, 0%, 23%, 27% | HSV: 159°, 66%, 73%. Copy any format from the conversion table above.
What colors go well with #40BA8F?
The complementary color is HSL(339, 49%, 49%). For a triadic harmony, use hues 159°, 279°, and 39°. For analogous combinations, try hues 129° and 189°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(159, 49%, 49%) in CSS?
As HSL: color: hsl(159, 49%, 49%); — As HEX: color: #40BA8F; — As RGB: color: rgb(64, 186, 143); — Tailwind CSS: bg-[hsl(159,49%,49%)] — CSS variable: --color-primary: hsl(159, 49%, 49%);