HSL(162, 50%, 17%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(162,50%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 50%, 17%) | color: hsl(162, 50%, 17%) | |
| HEX | #164134 | color: #164134 | |
| RGB | rgb(22, 65, 52) | color: rgb(22, 65, 52) | |
| CMYK | cmyk(66%, 0%, 20%, 75%) | — | |
| HSV | hsv(162, 66%, 25%) | — | |
| HWB | hwb(162 9% 75%) | color: hwb(162 9% 75%) | |
| OKLCH | oklch(0.3409 0.0531 170.2) | color: oklch(0.3409 0.0531 170.2) | |
| Lab | lab(24.32 -18.62 3.54) | color: lab(24.32 -18.62 3.54) | |
| LCH | lch(24.32 18.95 169.24) | color: lch(24.32 18.95 169.24) |
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)
#292937 — rgb(41, 41, 55)
Deuteranopia (Green-blind)
#262338 — rgb(38, 35, 56)
Tritanopia (Blue-blind)
#183A3A — rgb(24, 58, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 50%, 17%);
text
color: hsl(162, 50%, 17%);
border
border: 2px solid hsl(162, 50%, 17%);
gradient light
background: linear-gradient(to right, hsl(162, 50%, 37%), hsl(162, 50%, 17%));
gradient dark
background: linear-gradient(to right, hsl(162, 50%, 17%), hsl(162, 50%, 0%))
hex
background-color: #164134;
tailwind
bg-[hsl(162,50%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 50%, 17%, 0.4);
css variable
--color-primary: hsl(162, 50%, 17%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 50%, 17%)?
HEX: #164134 | RGB: rgb(22, 65, 52) | CMYK: 66%, 0%, 20%, 75% | HSV: 162°, 66%, 25%. Copy any format from the conversion table above.
What colors go well with #164134?
The complementary color is HSL(342, 50%, 17%). 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, 50%, 17%) in CSS?
As HSL: color: hsl(162, 50%, 17%); — As HEX: color: #164134; — As RGB: color: rgb(22, 65, 52); — Tailwind CSS: bg-[hsl(162,50%,17%)] — CSS variable: --color-primary: hsl(162, 50%, 17%);