HSL(158, 26%, 43%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,26%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 26%, 43%) | color: hsl(158, 26%, 43%) | |
| HEX | #518A75 | color: #518A75 | |
| RGB | rgb(81, 138, 117) | color: rgb(81, 138, 117) | |
| CMYK | cmyk(41%, 0%, 15%, 46%) | — | |
| HSV | hsv(158, 41%, 54%) | — | |
| HWB | hwb(158 32% 46%) | color: hwb(158 32% 46%) | |
| OKLCH | oklch(0.5877 0.0689 168.37) | color: oklch(0.5877 0.0689 168.37) | |
| Lab | lab(53.18 -23.89 5.41) | color: lab(53.18 -23.89 5.41) | |
| LCH | lch(53.18 24.49 167.24) | color: lch(53.18 24.49 167.24) |
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)
#6A6A7A — rgb(106, 106, 122)
Deuteranopia (Green-blind)
#66627B — rgb(102, 98, 123)
Tritanopia (Blue-blind)
#547E7F — rgb(84, 126, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 26%, 43%);
text
color: hsl(158, 26%, 43%);
border
border: 2px solid hsl(158, 26%, 43%);
gradient light
background: linear-gradient(to right, hsl(158, 26%, 63%), hsl(158, 26%, 43%));
gradient dark
background: linear-gradient(to right, hsl(158, 26%, 43%), hsl(158, 26%, 23%))
hex
background-color: #518A75;
tailwind
bg-[hsl(158,26%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 26%, 43%, 0.4);
css variable
--color-primary: hsl(158, 26%, 43%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 26%, 43%)?
HEX: #518A75 | RGB: rgb(81, 138, 117) | CMYK: 41%, 0%, 15%, 46% | HSV: 158°, 41%, 54%. Copy any format from the conversion table above.
What colors go well with #518A75?
The complementary color is HSL(338, 26%, 43%). 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, 26%, 43%) in CSS?
As HSL: color: hsl(158, 26%, 43%); — As HEX: color: #518A75; — As RGB: color: rgb(81, 138, 117); — Tailwind CSS: bg-[hsl(158,26%,43%)] — CSS variable: --color-primary: hsl(158, 26%, 43%);