HSL(162, 69%, 30%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(162,69%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 69%, 30%) | color: hsl(162, 69%, 30%) | |
| HEX | #188162 | color: #188162 | |
| RGB | rgb(24, 129, 98) | color: rgb(24, 129, 98) | |
| CMYK | cmyk(81%, 0%, 24%, 49%) | — | |
| HSV | hsv(162, 81%, 51%) | — | |
| HWB | hwb(162 10% 49%) | color: hwb(162 10% 49%) | |
| OKLCH | oklch(0.5387 0.1031 167.43) | color: oklch(0.5387 0.1031 167.43) | |
| Lab | lab(47.98 -36.38 8.78) | color: lab(47.98 -36.38 8.78) | |
| LCH | lch(47.98 37.42 166.43) | color: lch(47.98 37.42 166.43) |
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)
#3F386B — rgb(63, 56, 107)
Tritanopia (Blue-blind)
#1D6F71 — rgb(29, 111, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 69%, 30%);
text
color: hsl(162, 69%, 30%);
border
border: 2px solid hsl(162, 69%, 30%);
gradient light
background: linear-gradient(to right, hsl(162, 69%, 50%), hsl(162, 69%, 30%));
gradient dark
background: linear-gradient(to right, hsl(162, 69%, 30%), hsl(162, 69%, 10%))
hex
background-color: #188162;
tailwind
bg-[hsl(162,69%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 69%, 30%, 0.4);
css variable
--color-primary: hsl(162, 69%, 30%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 69%, 30%)?
HEX: #188162 | RGB: rgb(24, 129, 98) | CMYK: 81%, 0%, 24%, 49% | HSV: 162°, 81%, 51%. Copy any format from the conversion table above.
What colors go well with #188162?
The complementary color is HSL(342, 69%, 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, 69%, 30%) in CSS?
As HSL: color: hsl(162, 69%, 30%); — As HEX: color: #188162; — As RGB: color: rgb(24, 129, 98); — Tailwind CSS: bg-[hsl(162,69%,30%)] — CSS variable: --color-primary: hsl(162, 69%, 30%);