HSL(171, 41%, 51%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(171,41%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 41%, 51%) | color: hsl(171, 41%, 51%) | |
| HEX | #4FB5A6 | color: #4FB5A6 | |
| RGB | rgb(79, 181, 166) | color: rgb(79, 181, 166) | |
| CMYK | cmyk(56%, 0%, 8%, 29%) | — | |
| HSV | hsv(171, 56%, 71%) | — | |
| HWB | hwb(171 31% 29%) | color: hwb(171 31% 29%) | |
| OKLCH | oklch(0.7087 0.0975 182.36) | color: oklch(0.7087 0.0975 182.36) | |
| Lab | lab(67.62 -33.27 -1.29) | color: lab(67.62 -33.27 -1.29) | |
| LCH | lch(67.62 33.29 182.22) | color: lch(67.62 33.29 182.22) |
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)
#7B7CAA — rgb(123, 124, 170)
Deuteranopia (Green-blind)
#756EAB — rgb(117, 110, 171)
Tritanopia (Blue-blind)
#54ACAD — rgb(84, 172, 173)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 41%, 51%);
text
color: hsl(171, 41%, 51%);
border
border: 2px solid hsl(171, 41%, 51%);
gradient light
background: linear-gradient(to right, hsl(171, 41%, 71%), hsl(171, 41%, 51%));
gradient dark
background: linear-gradient(to right, hsl(171, 41%, 51%), hsl(171, 41%, 31%))
hex
background-color: #4FB5A6;
tailwind
bg-[hsl(171,41%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 41%, 51%, 0.4);
css variable
--color-primary: hsl(171, 41%, 51%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 41%, 51%)?
HEX: #4FB5A6 | RGB: rgb(79, 181, 166) | CMYK: 56%, 0%, 8%, 29% | HSV: 171°, 56%, 71%. Copy any format from the conversion table above.
What colors go well with #4FB5A6?
The complementary color is HSL(351, 41%, 51%). 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, 41%, 51%) in CSS?
As HSL: color: hsl(171, 41%, 51%); — As HEX: color: #4FB5A6; — As RGB: color: rgb(79, 181, 166); — Tailwind CSS: bg-[hsl(171,41%,51%)] — CSS variable: --color-primary: hsl(171, 41%, 51%);