HSL(156, 18%, 42%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(156,18%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(156, 18%, 42%) | color: hsl(156, 18%, 42%) | |
| HEX | #587E6F | color: #587E6F | |
| RGB | rgb(88, 126, 111) | color: rgb(88, 126, 111) | |
| CMYK | cmyk(30%, 0%, 12%, 51%) | — | |
| HSV | hsv(156, 30%, 49%) | — | |
| HWB | hwb(156 34% 51%) | color: hwb(156 34% 51%) | |
| OKLCH | oklch(0.56 0.0488 168.11) | color: oklch(0.56 0.0488 168.11) | |
| Lab | lab(49.67 -16.8 3.9) | color: lab(49.67 -16.8 3.9) | |
| LCH | lch(49.67 17.25 166.93) | color: lch(49.67 17.25 166.93) |
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)
#686973 — rgb(104, 105, 115)
Deuteranopia (Green-blind)
#666374 — rgb(102, 99, 116)
Tritanopia (Blue-blind)
#5A7576 — rgb(90, 117, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(156, 18%, 42%);
text
color: hsl(156, 18%, 42%);
border
border: 2px solid hsl(156, 18%, 42%);
gradient light
background: linear-gradient(to right, hsl(156, 18%, 62%), hsl(156, 18%, 42%));
gradient dark
background: linear-gradient(to right, hsl(156, 18%, 42%), hsl(156, 18%, 22%))
hex
background-color: #587E6F;
tailwind
bg-[hsl(156,18%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(156, 18%, 42%, 0.4);
css variable
--color-primary: hsl(156, 18%, 42%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(156, 18%, 42%)?
HEX: #587E6F | RGB: rgb(88, 126, 111) | CMYK: 30%, 0%, 12%, 51% | HSV: 156°, 30%, 49%. Copy any format from the conversion table above.
What colors go well with #587E6F?
The complementary color is HSL(336, 18%, 42%). For a triadic harmony, use hues 156°, 276°, and 36°. For analogous combinations, try hues 126° and 186°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(156, 18%, 42%) in CSS?
As HSL: color: hsl(156, 18%, 42%); — As HEX: color: #587E6F; — As RGB: color: rgb(88, 126, 111); — Tailwind CSS: bg-[hsl(156,18%,42%)] — CSS variable: --color-primary: hsl(156, 18%, 42%);