HSL(171, 100%, 19%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(171,100%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 100%, 19%) | color: hsl(171, 100%, 19%) | |
| HEX | #006152 | color: #006152 | |
| RGB | rgb(0, 97, 82) | color: rgb(0, 97, 82) | |
| CMYK | cmyk(100%, 0%, 15%, 62%) | — | |
| HSV | hsv(171, 100%, 38%) | — | |
| HWB | hwb(171 0% 62%) | color: hwb(171 0% 62%) | |
| OKLCH | oklch(0.4405 0.0815 177.29) | color: oklch(0.4405 0.0815 177.29) | |
| Lab | lab(36.29 -28.56 1.62) | color: lab(36.29 -28.56 1.62) | |
| LCH | lch(36.29 28.61 176.75) | color: lch(36.29 28.61 176.75) |
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)
#2A2B56 — rgb(42, 43, 86)
Deuteranopia (Green-blind)
#241D57 — rgb(36, 29, 87)
Tritanopia (Blue-blind)
#055859 — rgb(5, 88, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 100%, 19%);
text
color: hsl(171, 100%, 19%);
border
border: 2px solid hsl(171, 100%, 19%);
gradient light
background: linear-gradient(to right, hsl(171, 100%, 39%), hsl(171, 100%, 19%));
gradient dark
background: linear-gradient(to right, hsl(171, 100%, 19%), hsl(171, 100%, 0%))
hex
background-color: #006152;
tailwind
bg-[hsl(171,100%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 100%, 19%, 0.4);
css variable
--color-primary: hsl(171, 100%, 19%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 100%, 19%)?
HEX: #006152 | RGB: rgb(0, 97, 82) | CMYK: 100%, 0%, 15%, 62% | HSV: 171°, 100%, 38%. Copy any format from the conversion table above.
What colors go well with #006152?
The complementary color is HSL(351, 100%, 19%). For a triadic harmony, use hues 171°, 291°, and 51°. For analogous combinations, try hues 141° and 201°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(171, 100%, 19%) in CSS?
As HSL: color: hsl(171, 100%, 19%); — As HEX: color: #006152; — As RGB: color: rgb(0, 97, 82); — Tailwind CSS: bg-[hsl(171,100%,19%)] — CSS variable: --color-primary: hsl(171, 100%, 19%);