HSL(171, 40%, 39%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(171,40%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 40%, 39%) | color: hsl(171, 40%, 39%) | |
| HEX | #3C8B7F | color: #3C8B7F | |
| RGB | rgb(60, 139, 127) | color: rgb(60, 139, 127) | |
| CMYK | cmyk(57%, 0%, 9%, 45%) | — | |
| HSV | hsv(171, 57%, 55%) | — | |
| HWB | hwb(171 24% 45%) | color: hwb(171 24% 45%) | |
| OKLCH | oklch(0.584 0.0798 182.03) | color: oklch(0.584 0.0798 182.03) | |
| Lab | lab(52.9 -27.24 -0.89) | color: lab(52.9 -27.24 -0.89) | |
| LCH | lch(52.9 27.25 181.87) | color: lch(52.9 27.25 181.87) |
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)
#5E5F82 — rgb(94, 95, 130)
Deuteranopia (Green-blind)
#5A5483 — rgb(90, 84, 131)
Tritanopia (Blue-blind)
#408485 — rgb(64, 132, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 40%, 39%);
text
color: hsl(171, 40%, 39%);
border
border: 2px solid hsl(171, 40%, 39%);
gradient light
background: linear-gradient(to right, hsl(171, 40%, 59%), hsl(171, 40%, 39%));
gradient dark
background: linear-gradient(to right, hsl(171, 40%, 39%), hsl(171, 40%, 19%))
hex
background-color: #3C8B7F;
tailwind
bg-[hsl(171,40%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 40%, 39%, 0.4);
css variable
--color-primary: hsl(171, 40%, 39%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 40%, 39%)?
HEX: #3C8B7F | RGB: rgb(60, 139, 127) | CMYK: 57%, 0%, 9%, 45% | HSV: 171°, 57%, 55%. Copy any format from the conversion table above.
What colors go well with #3C8B7F?
The complementary color is HSL(351, 40%, 39%). 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, 40%, 39%) in CSS?
As HSL: color: hsl(171, 40%, 39%); — As HEX: color: #3C8B7F; — As RGB: color: rgb(60, 139, 127); — Tailwind CSS: bg-[hsl(171,40%,39%)] — CSS variable: --color-primary: hsl(171, 40%, 39%);