HSL(158, 50%, 56%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,50%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 50%, 56%) | color: hsl(158, 50%, 56%) | |
| HEX | #57C79E | color: #57C79E | |
| RGB | rgb(87, 199, 158) | color: rgb(87, 199, 158) | |
| CMYK | cmyk(56%, 0%, 21%, 22%) | — | |
| HSV | hsv(158, 56%, 78%) | — | |
| HWB | hwb(158 34% 22%) | color: hwb(158 34% 22%) | |
| OKLCH | oklch(0.7534 0.1195 166.32) | color: oklch(0.7534 0.1195 166.32) | |
| Lab | lab(73.11 -41.72 11.02) | color: lab(73.11 -41.72 11.02) | |
| LCH | lch(73.11 43.15 165.2) | color: lch(73.11 43.15 165.2) |
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)
#8789A8 — rgb(135, 137, 168)
Deuteranopia (Green-blind)
#8179AA — rgb(129, 121, 170)
Tritanopia (Blue-blind)
#5DB0B1 — rgb(93, 176, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 50%, 56%);
text
color: hsl(158, 50%, 56%);
border
border: 2px solid hsl(158, 50%, 56%);
gradient light
background: linear-gradient(to right, hsl(158, 50%, 76%), hsl(158, 50%, 56%));
gradient dark
background: linear-gradient(to right, hsl(158, 50%, 56%), hsl(158, 50%, 36%))
hex
background-color: #57C79E;
tailwind
bg-[hsl(158,50%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 50%, 56%, 0.4);
css variable
--color-primary: hsl(158, 50%, 56%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 50%, 56%)?
HEX: #57C79E | RGB: rgb(87, 199, 158) | CMYK: 56%, 0%, 21%, 22% | HSV: 158°, 56%, 78%. Copy any format from the conversion table above.
What colors go well with #57C79E?
The complementary color is HSL(338, 50%, 56%). 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, 50%, 56%) in CSS?
As HSL: color: hsl(158, 50%, 56%); — As HEX: color: #57C79E; — As RGB: color: rgb(87, 199, 158); — Tailwind CSS: bg-[hsl(158,50%,56%)] — CSS variable: --color-primary: hsl(158, 50%, 56%);