HSL(167, 20%, 42%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(167,20%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(167, 20%, 42%) | color: hsl(167, 20%, 42%) | |
| HEX | #568177 | color: #568177 | |
| RGB | rgb(86, 129, 119) | color: rgb(86, 129, 119) | |
| CMYK | cmyk(33%, 0%, 8%, 49%) | — | |
| HSV | hsv(166, 33%, 51%) | — | |
| HWB | hwb(166 34% 49%) | color: hwb(166 34% 49%) | |
| OKLCH | oklch(0.5687 0.0501 178.21) | color: oklch(0.5687 0.0501 178.21) | |
| Lab | lab(50.7 -17.19 0.69) | color: lab(50.7 -17.19 0.69) | |
| LCH | lch(50.7 17.2 177.7) | color: lch(50.7 17.2 177.7) |
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)
#696979 — rgb(105, 105, 121)
Deuteranopia (Green-blind)
#66637A — rgb(102, 99, 122)
Tritanopia (Blue-blind)
#587B7C — rgb(88, 123, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(167, 20%, 42%);
text
color: hsl(167, 20%, 42%);
border
border: 2px solid hsl(167, 20%, 42%);
gradient light
background: linear-gradient(to right, hsl(167, 20%, 62%), hsl(167, 20%, 42%));
gradient dark
background: linear-gradient(to right, hsl(167, 20%, 42%), hsl(167, 20%, 22%))
hex
background-color: #568177;
tailwind
bg-[hsl(167,20%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(167, 20%, 42%, 0.4);
css variable
--color-primary: hsl(167, 20%, 42%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(167, 20%, 42%)?
HEX: #568177 | RGB: rgb(86, 129, 119) | CMYK: 33%, 0%, 8%, 49% | HSV: 166°, 33%, 51%. Copy any format from the conversion table above.
What colors go well with #568177?
The complementary color is HSL(347, 20%, 42%). For a triadic harmony, use hues 167°, 287°, and 47°. For analogous combinations, try hues 137° and 197°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(167, 20%, 42%) in CSS?
As HSL: color: hsl(167, 20%, 42%); — As HEX: color: #568177; — As RGB: color: rgb(86, 129, 119); — Tailwind CSS: bg-[hsl(167,20%,42%)] — CSS variable: --color-primary: hsl(167, 20%, 42%);