HSL(159, 40%, 41%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(159,40%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 40%, 41%) | color: hsl(159, 40%, 41%) | |
| HEX | #3F9275 | color: #3F9275 | |
| RGB | rgb(63, 146, 117) | color: rgb(63, 146, 117) | |
| CMYK | cmyk(57%, 0%, 20%, 43%) | — | |
| HSV | hsv(159, 57%, 57%) | — | |
| HWB | hwb(159 25% 43%) | color: hwb(159 25% 43%) | |
| OKLCH | oklch(0.6002 0.093 167.48) | color: oklch(0.6002 0.093 167.48) | |
| Lab | lab(54.97 -32.5 7.86) | color: lab(54.97 -32.5 7.86) | |
| LCH | lch(54.97 33.44 166.4) | color: lch(54.97 33.44 166.4) |
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)
#63647C — rgb(99, 100, 124)
Deuteranopia (Green-blind)
#5E587E — rgb(94, 88, 126)
Tritanopia (Blue-blind)
#438283 — rgb(67, 130, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 40%, 41%);
text
color: hsl(159, 40%, 41%);
border
border: 2px solid hsl(159, 40%, 41%);
gradient light
background: linear-gradient(to right, hsl(159, 40%, 61%), hsl(159, 40%, 41%));
gradient dark
background: linear-gradient(to right, hsl(159, 40%, 41%), hsl(159, 40%, 21%))
hex
background-color: #3F9275;
tailwind
bg-[hsl(159,40%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 40%, 41%, 0.4);
css variable
--color-primary: hsl(159, 40%, 41%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(159, 40%, 41%)?
HEX: #3F9275 | RGB: rgb(63, 146, 117) | CMYK: 57%, 0%, 20%, 43% | HSV: 159°, 57%, 57%. Copy any format from the conversion table above.
What colors go well with #3F9275?
The complementary color is HSL(339, 40%, 41%). For a triadic harmony, use hues 159°, 279°, and 39°. For analogous combinations, try hues 129° and 189°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(159, 40%, 41%) in CSS?
As HSL: color: hsl(159, 40%, 41%); — As HEX: color: #3F9275; — As RGB: color: rgb(63, 146, 117); — Tailwind CSS: bg-[hsl(159,40%,41%)] — CSS variable: --color-primary: hsl(159, 40%, 41%);