HSL(158, 17%, 42%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(158,17%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 17%, 42%) | color: hsl(158, 17%, 42%) | |
| HEX | #597D70 | color: #597D70 | |
| RGB | rgb(89, 125, 112) | color: rgb(89, 125, 112) | |
| CMYK | cmyk(29%, 0%, 10%, 51%) | — | |
| HSV | hsv(158, 29%, 49%) | — | |
| HWB | hwb(158 35% 51%) | color: hwb(158 35% 51%) | |
| OKLCH | oklch(0.5585 0.0455 170.26) | color: oklch(0.5585 0.0455 170.26) | |
| Lab | lab(49.45 -15.69 3) | color: lab(49.45 -15.69 3) | |
| LCH | lch(49.45 15.97 169.18) | color: lch(49.45 15.97 169.18) |
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)
#696973 — rgb(105, 105, 115)
Deuteranopia (Green-blind)
#676474 — rgb(103, 100, 116)
Tritanopia (Blue-blind)
#5B7676 — rgb(91, 118, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 17%, 42%);
text
color: hsl(158, 17%, 42%);
border
border: 2px solid hsl(158, 17%, 42%);
gradient light
background: linear-gradient(to right, hsl(158, 17%, 62%), hsl(158, 17%, 42%));
gradient dark
background: linear-gradient(to right, hsl(158, 17%, 42%), hsl(158, 17%, 22%))
hex
background-color: #597D70;
tailwind
bg-[hsl(158,17%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 17%, 42%, 0.4);
css variable
--color-primary: hsl(158, 17%, 42%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 17%, 42%)?
HEX: #597D70 | RGB: rgb(89, 125, 112) | CMYK: 29%, 0%, 10%, 51% | HSV: 158°, 29%, 49%. Copy any format from the conversion table above.
What colors go well with #597D70?
The complementary color is HSL(338, 17%, 42%). For a triadic harmony, use hues 158°, 278°, and 38°. For analogous combinations, try hues 128° and 188°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(158, 17%, 42%) in CSS?
As HSL: color: hsl(158, 17%, 42%); — As HEX: color: #597D70; — As RGB: color: rgb(89, 125, 112); — Tailwind CSS: bg-[hsl(158,17%,42%)] — CSS variable: --color-primary: hsl(158, 17%, 42%);