HSL(158, 49%, 49%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,49%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 49%, 49%) | color: hsl(158, 49%, 49%) | |
| HEX | #40BA8D | color: #40BA8D | |
| RGB | rgb(64, 186, 141) | color: rgb(64, 186, 141) | |
| CMYK | cmyk(66%, 0%, 24%, 27%) | — | |
| HSV | hsv(158, 66%, 73%) | — | |
| HWB | hwb(158 25% 27%) | color: hwb(158 25% 27%) | |
| OKLCH | oklch(0.7095 0.1271 164.75) | color: oklch(0.7095 0.1271 164.75) | |
| Lab | lab(68.12 -44.45 13.08) | color: lab(68.12 -44.45 13.08) | |
| LCH | lch(68.12 46.33 163.6) | color: lch(68.12 46.33 163.6) |
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)
#757698 — rgb(117, 118, 152)
Deuteranopia (Green-blind)
#6E659B — rgb(110, 101, 155)
Tritanopia (Blue-blind)
#46A0A2 — rgb(70, 160, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 49%, 49%);
text
color: hsl(158, 49%, 49%);
border
border: 2px solid hsl(158, 49%, 49%);
gradient light
background: linear-gradient(to right, hsl(158, 49%, 69%), hsl(158, 49%, 49%));
gradient dark
background: linear-gradient(to right, hsl(158, 49%, 49%), hsl(158, 49%, 29%))
hex
background-color: #40BA8D;
tailwind
bg-[hsl(158,49%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 49%, 49%, 0.4);
css variable
--color-primary: hsl(158, 49%, 49%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 49%, 49%)?
HEX: #40BA8D | RGB: rgb(64, 186, 141) | CMYK: 66%, 0%, 24%, 27% | HSV: 158°, 66%, 73%. Copy any format from the conversion table above.
What colors go well with #40BA8D?
The complementary color is HSL(338, 49%, 49%). 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, 49%, 49%) in CSS?
As HSL: color: hsl(158, 49%, 49%); — As HEX: color: #40BA8D; — As RGB: color: rgb(64, 186, 141); — Tailwind CSS: bg-[hsl(158,49%,49%)] — CSS variable: --color-primary: hsl(158, 49%, 49%);