HSL(171, 70%, 33%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(171,70%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 70%, 33%) | color: hsl(171, 70%, 33%) | |
| HEX | #198F7D | color: #198F7D | |
| RGB | rgb(25, 143, 125) | color: rgb(25, 143, 125) | |
| CMYK | cmyk(83%, 0%, 13%, 44%) | — | |
| HSV | hsv(171, 83%, 56%) | — | |
| HWB | hwb(171 10% 44%) | color: hwb(171 10% 44%) | |
| OKLCH | oklch(0.5848 0.1012 179.17) | color: oklch(0.5848 0.1012 179.17) | |
| Lab | lab(53.31 -35.17 0.77) | color: lab(53.31 -35.17 0.77) | |
| LCH | lch(53.31 35.18 178.75) | color: lch(53.31 35.18 178.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: black
Color Blindness Simulation
Protanopia (Red-blind)
#4C4D81 — rgb(76, 77, 129)
Deuteranopia (Green-blind)
#453C82 — rgb(69, 60, 130)
Tritanopia (Blue-blind)
#1F8586 — rgb(31, 133, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 70%, 33%);
text
color: hsl(171, 70%, 33%);
border
border: 2px solid hsl(171, 70%, 33%);
gradient light
background: linear-gradient(to right, hsl(171, 70%, 53%), hsl(171, 70%, 33%));
gradient dark
background: linear-gradient(to right, hsl(171, 70%, 33%), hsl(171, 70%, 13%))
hex
background-color: #198F7D;
tailwind
bg-[hsl(171,70%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 70%, 33%, 0.4);
css variable
--color-primary: hsl(171, 70%, 33%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 70%, 33%)?
HEX: #198F7D | RGB: rgb(25, 143, 125) | CMYK: 83%, 0%, 13%, 44% | HSV: 171°, 83%, 56%. Copy any format from the conversion table above.
What colors go well with #198F7D?
The complementary color is HSL(351, 70%, 33%). 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, 70%, 33%) in CSS?
As HSL: color: hsl(171, 70%, 33%); — As HEX: color: #198F7D; — As RGB: color: rgb(25, 143, 125); — Tailwind CSS: bg-[hsl(171,70%,33%)] — CSS variable: --color-primary: hsl(171, 70%, 33%);