HSL(162, 93%, 28%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(162,93%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 93%, 28%) | color: hsl(162, 93%, 28%) | |
| HEX | #058A62 | color: #058A62 | |
| RGB | rgb(5, 138, 98) | color: rgb(5, 138, 98) | |
| CMYK | cmyk(96%, 0%, 29%, 46%) | — | |
| HSV | hsv(162, 96%, 54%) | — | |
| HWB | hwb(162 2% 46%) | color: hwb(162 2% 46%) | |
| OKLCH | oklch(0.5613 0.1183 164.14) | color: oklch(0.5613 0.1183 164.14) | |
| Lab | lab(50.79 -41.65 12.7) | color: lab(50.79 -41.65 12.7) | |
| LCH | lch(50.79 43.54 163.04) | color: lch(50.79 43.54 163.04) |
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)
#3F406C — rgb(63, 64, 108)
Deuteranopia (Green-blind)
#372D6E — rgb(55, 45, 110)
Tritanopia (Blue-blind)
#0C7375 — rgb(12, 115, 117)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 93%, 28%);
text
color: hsl(162, 93%, 28%);
border
border: 2px solid hsl(162, 93%, 28%);
gradient light
background: linear-gradient(to right, hsl(162, 93%, 48%), hsl(162, 93%, 28%));
gradient dark
background: linear-gradient(to right, hsl(162, 93%, 28%), hsl(162, 93%, 8%))
hex
background-color: #058A62;
tailwind
bg-[hsl(162,93%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 93%, 28%, 0.4);
css variable
--color-primary: hsl(162, 93%, 28%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 93%, 28%)?
HEX: #058A62 | RGB: rgb(5, 138, 98) | CMYK: 96%, 0%, 29%, 46% | HSV: 162°, 96%, 54%. Copy any format from the conversion table above.
What colors go well with #058A62?
The complementary color is HSL(342, 93%, 28%). For a triadic harmony, use hues 162°, 282°, and 42°. For analogous combinations, try hues 132° and 192°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(162, 93%, 28%) in CSS?
As HSL: color: hsl(162, 93%, 28%); — As HEX: color: #058A62; — As RGB: color: rgb(5, 138, 98); — Tailwind CSS: bg-[hsl(162,93%,28%)] — CSS variable: --color-primary: hsl(162, 93%, 28%);