HSL(161, 58%, 42%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(161,58%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(161, 58%, 42%) | color: hsl(161, 58%, 42%) | |
| HEX | #2DA982 | color: #2DA982 | |
| RGB | rgb(45, 169, 130) | color: rgb(45, 169, 130) | |
| CMYK | cmyk(73%, 0%, 23%, 34%) | — | |
| HSV | hsv(161, 73%, 66%) | — | |
| HWB | hwb(161 18% 34%) | color: hwb(161 18% 34%) | |
| OKLCH | oklch(0.6583 0.1217 167.11) | color: oklch(0.6583 0.1217 167.11) | |
| Lab | lab(62.12 -42.85 10.62) | color: lab(62.12 -42.85 10.62) | |
| LCH | lch(62.12 44.15 166.08) | color: lch(62.12 44.15 166.08) |
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)
#63648B — rgb(99, 100, 139)
Deuteranopia (Green-blind)
#5C528E — rgb(92, 82, 142)
Tritanopia (Blue-blind)
#339395 — rgb(51, 147, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(161, 58%, 42%);
text
color: hsl(161, 58%, 42%);
border
border: 2px solid hsl(161, 58%, 42%);
gradient light
background: linear-gradient(to right, hsl(161, 58%, 62%), hsl(161, 58%, 42%));
gradient dark
background: linear-gradient(to right, hsl(161, 58%, 42%), hsl(161, 58%, 22%))
hex
background-color: #2DA982;
tailwind
bg-[hsl(161,58%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(161, 58%, 42%, 0.4);
css variable
--color-primary: hsl(161, 58%, 42%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(161, 58%, 42%)?
HEX: #2DA982 | RGB: rgb(45, 169, 130) | CMYK: 73%, 0%, 23%, 34% | HSV: 161°, 73%, 66%. Copy any format from the conversion table above.
What colors go well with #2DA982?
The complementary color is HSL(341, 58%, 42%). For a triadic harmony, use hues 161°, 281°, and 41°. For analogous combinations, try hues 131° and 191°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(161, 58%, 42%) in CSS?
As HSL: color: hsl(161, 58%, 42%); — As HEX: color: #2DA982; — As RGB: color: rgb(45, 169, 130); — Tailwind CSS: bg-[hsl(161,58%,42%)] — CSS variable: --color-primary: hsl(161, 58%, 42%);