HSL(151, 73%, 45%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,73%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 73%, 45%) | color: hsl(151, 73%, 45%) | |
| HEX | #1FC776 | color: #1FC776 | |
| RGB | rgb(31, 199, 118) | color: rgb(31, 199, 118) | |
| CMYK | cmyk(84%, 0%, 41%, 22%) | — | |
| HSV | hsv(151, 84%, 78%) | — | |
| HWB | hwb(151 12% 22%) | color: hwb(151 12% 22%) | |
| OKLCH | oklch(0.7316 0.1738 155.12) | color: oklch(0.7316 0.1738 155.12) | |
| Lab | lab(71.18 -58.61 29.41) | color: lab(71.18 -58.61 29.41) | |
| LCH | lch(71.18 65.57 153.35) | color: lch(71.18 65.57 153.35) |
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)
#68698A — rgb(104, 105, 138)
Deuteranopia (Green-blind)
#5E518E — rgb(94, 81, 142)
Tritanopia (Blue-blind)
#27999C — rgb(39, 153, 156)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 73%, 45%);
text
color: hsl(151, 73%, 45%);
border
border: 2px solid hsl(151, 73%, 45%);
gradient light
background: linear-gradient(to right, hsl(151, 73%, 65%), hsl(151, 73%, 45%));
gradient dark
background: linear-gradient(to right, hsl(151, 73%, 45%), hsl(151, 73%, 25%))
hex
background-color: #1FC776;
tailwind
bg-[hsl(151,73%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 73%, 45%, 0.4);
css variable
--color-primary: hsl(151, 73%, 45%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 73%, 45%)?
HEX: #1FC776 | RGB: rgb(31, 199, 118) | CMYK: 84%, 0%, 41%, 22% | HSV: 151°, 84%, 78%. Copy any format from the conversion table above.
What colors go well with #1FC776?
The complementary color is HSL(331, 73%, 45%). For a triadic harmony, use hues 151°, 271°, and 31°. For analogous combinations, try hues 121° and 181°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(151, 73%, 45%) in CSS?
As HSL: color: hsl(151, 73%, 45%); — As HEX: color: #1FC776; — As RGB: color: rgb(31, 199, 118); — Tailwind CSS: bg-[hsl(151,73%,45%)] — CSS variable: --color-primary: hsl(151, 73%, 45%);