HSL(156, 20%, 58%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(156,20%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(156, 20%, 58%) | color: hsl(156, 20%, 58%) | |
| HEX | #7EA998 | color: #7EA998 | |
| RGB | rgb(126, 169, 152) | color: rgb(126, 169, 152) | |
| CMYK | cmyk(25%, 0%, 10%, 34%) | — | |
| HSV | hsv(156, 25%, 66%) | — | |
| HWB | hwb(156 50% 34%) | color: hwb(156 50% 34%) | |
| OKLCH | oklch(0.6986 0.0528 168.5) | color: oklch(0.6986 0.0528 168.5) | |
| Lab | lab(65.81 -18.13 4.08) | color: lab(65.81 -18.13 4.08) | |
| LCH | lch(65.81 18.58 167.32) | color: lch(65.81 18.58 167.32) |
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)
#91919C — rgb(145, 145, 156)
Deuteranopia (Green-blind)
#8E8B9D — rgb(142, 139, 157)
Tritanopia (Blue-blind)
#809FA0 — rgb(128, 159, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(156, 20%, 58%);
text
color: hsl(156, 20%, 58%);
border
border: 2px solid hsl(156, 20%, 58%);
gradient light
background: linear-gradient(to right, hsl(156, 20%, 78%), hsl(156, 20%, 58%));
gradient dark
background: linear-gradient(to right, hsl(156, 20%, 58%), hsl(156, 20%, 38%))
hex
background-color: #7EA998;
tailwind
bg-[hsl(156,20%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(156, 20%, 58%, 0.4);
css variable
--color-primary: hsl(156, 20%, 58%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(156, 20%, 58%)?
HEX: #7EA998 | RGB: rgb(126, 169, 152) | CMYK: 25%, 0%, 10%, 34% | HSV: 156°, 25%, 66%. Copy any format from the conversion table above.
What colors go well with #7EA998?
The complementary color is HSL(336, 20%, 58%). 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, 20%, 58%) in CSS?
As HSL: color: hsl(156, 20%, 58%); — As HEX: color: #7EA998; — As RGB: color: rgb(126, 169, 152); — Tailwind CSS: bg-[hsl(156,20%,58%)] — CSS variable: --color-primary: hsl(156, 20%, 58%);