HSL(158, 57%, 39%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,57%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 57%, 39%) | color: hsl(158, 57%, 39%) | |
| HEX | #2B9C73 | color: #2B9C73 | |
| RGB | rgb(43, 156, 115) | color: rgb(43, 156, 115) | |
| CMYK | cmyk(72%, 0%, 26%, 39%) | — | |
| HSV | hsv(158, 72%, 61%) | — | |
| HWB | hwb(158 17% 39%) | color: hwb(158 17% 39%) | |
| OKLCH | oklch(0.6199 0.1178 164.14) | color: oklch(0.6199 0.1178 164.14) | |
| Lab | lab(57.58 -41.23 12.61) | color: lab(57.58 -41.23 12.61) | |
| LCH | lch(57.58 43.12 162.99) | color: lch(57.58 43.12 162.99) |
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)
#5C5D7D — rgb(92, 93, 125)
Deuteranopia (Green-blind)
#554D7F — rgb(85, 77, 127)
Tritanopia (Blue-blind)
#318586 — rgb(49, 133, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 57%, 39%);
text
color: hsl(158, 57%, 39%);
border
border: 2px solid hsl(158, 57%, 39%);
gradient light
background: linear-gradient(to right, hsl(158, 57%, 59%), hsl(158, 57%, 39%));
gradient dark
background: linear-gradient(to right, hsl(158, 57%, 39%), hsl(158, 57%, 19%))
hex
background-color: #2B9C73;
tailwind
bg-[hsl(158,57%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 57%, 39%, 0.4);
css variable
--color-primary: hsl(158, 57%, 39%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 57%, 39%)?
HEX: #2B9C73 | RGB: rgb(43, 156, 115) | CMYK: 72%, 0%, 26%, 39% | HSV: 158°, 72%, 61%. Copy any format from the conversion table above.
What colors go well with #2B9C73?
The complementary color is HSL(338, 57%, 39%). 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, 57%, 39%) in CSS?
As HSL: color: hsl(158, 57%, 39%); — As HEX: color: #2B9C73; — As RGB: color: rgb(43, 156, 115); — Tailwind CSS: bg-[hsl(158,57%,39%)] — CSS variable: --color-primary: hsl(158, 57%, 39%);