HSL(162, 70%, 30%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(162,70%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 70%, 30%) | color: hsl(162, 70%, 30%) | |
| HEX | #178262 | color: #178262 | |
| RGB | rgb(23, 130, 98) | color: rgb(23, 130, 98) | |
| CMYK | cmyk(82%, 0%, 25%, 49%) | — | |
| HSV | hsv(162, 82%, 51%) | — | |
| HWB | hwb(162 9% 49%) | color: hwb(162 9% 49%) | |
| OKLCH | oklch(0.5413 0.1046 166.98) | color: oklch(0.5413 0.1046 166.98) | |
| Lab | lab(48.3 -36.92 9.23) | color: lab(48.3 -36.92 9.23) | |
| LCH | lch(48.3 38.06 165.96) | color: lch(48.3 38.06 165.96) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#45466A — rgb(69, 70, 106)
Deuteranopia (Green-blind)
#3F376C — rgb(63, 55, 108)
Tritanopia (Blue-blind)
#1C7071 — rgb(28, 112, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 70%, 30%);
text
color: hsl(162, 70%, 30%);
border
border: 2px solid hsl(162, 70%, 30%);
gradient light
background: linear-gradient(to right, hsl(162, 70%, 50%), hsl(162, 70%, 30%));
gradient dark
background: linear-gradient(to right, hsl(162, 70%, 30%), hsl(162, 70%, 10%))
hex
background-color: #178262;
tailwind
bg-[hsl(162,70%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 70%, 30%, 0.4);
css variable
--color-primary: hsl(162, 70%, 30%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 70%, 30%)?
HEX: #178262 | RGB: rgb(23, 130, 98) | CMYK: 82%, 0%, 25%, 49% | HSV: 162°, 82%, 51%. Copy any format from the conversion table above.
What colors go well with #178262?
The complementary color is HSL(342, 70%, 30%). 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, 70%, 30%) in CSS?
As HSL: color: hsl(162, 70%, 30%); — As HEX: color: #178262; — As RGB: color: rgb(23, 130, 98); — Tailwind CSS: bg-[hsl(162,70%,30%)] — CSS variable: --color-primary: hsl(162, 70%, 30%);