HSL(171, 100%, 28%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(171,100%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 100%, 28%) | color: hsl(171, 100%, 28%) | |
| HEX | #008F79 | color: #008F79 | |
| RGB | rgb(0, 143, 121) | color: rgb(0, 143, 121) | |
| CMYK | cmyk(100%, 0%, 15%, 44%) | — | |
| HSV | hsv(171, 100%, 56%) | — | |
| HWB | hwb(171 0% 44%) | color: hwb(171 0% 44%) | |
| OKLCH | oklch(0.581 0.108 176.71) | color: oklch(0.581 0.108 176.71) | |
| Lab | lab(52.98 -37.91 2.56) | color: lab(52.98 -37.91 2.56) | |
| LCH | lch(52.98 38 176.14) | color: lch(52.98 38 176.14) |
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)
#3E3F7E — rgb(62, 63, 126)
Deuteranopia (Green-blind)
#362B80 — rgb(54, 43, 128)
Tritanopia (Blue-blind)
#078383 — rgb(7, 131, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 100%, 28%);
text
color: hsl(171, 100%, 28%);
border
border: 2px solid hsl(171, 100%, 28%);
gradient light
background: linear-gradient(to right, hsl(171, 100%, 48%), hsl(171, 100%, 28%));
gradient dark
background: linear-gradient(to right, hsl(171, 100%, 28%), hsl(171, 100%, 8%))
hex
background-color: #008F79;
tailwind
bg-[hsl(171,100%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 100%, 28%, 0.4);
css variable
--color-primary: hsl(171, 100%, 28%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 100%, 28%)?
HEX: #008F79 | RGB: rgb(0, 143, 121) | CMYK: 100%, 0%, 15%, 44% | HSV: 171°, 100%, 56%. Copy any format from the conversion table above.
What colors go well with #008F79?
The complementary color is HSL(351, 100%, 28%). 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%, 28%) in CSS?
As HSL: color: hsl(171, 100%, 28%); — As HEX: color: #008F79; — As RGB: color: rgb(0, 143, 121); — Tailwind CSS: bg-[hsl(171,100%,28%)] — CSS variable: --color-primary: hsl(171, 100%, 28%);