HSL(151, 52%, 52%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,52%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 52%, 52%) | color: hsl(151, 52%, 52%) | |
| HEX | #45C487 | color: #45C487 | |
| RGB | rgb(69, 196, 135) | color: rgb(69, 196, 135) | |
| CMYK | cmyk(65%, 0%, 31%, 23%) | — | |
| HSV | hsv(151, 65%, 77%) | — | |
| HWB | hwb(151 27% 23%) | color: hwb(151 27% 23%) | |
| OKLCH | oklch(0.7348 0.1433 158.62) | color: oklch(0.7348 0.1433 158.62) | |
| Lab | lab(71.21 -48.99 20.63) | color: lab(71.21 -48.99 20.63) | |
| LCH | lch(71.21 53.16 157.16) | color: lch(71.21 53.16 157.16) |
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)
#7C7D96 — rgb(124, 125, 150)
Deuteranopia (Green-blind)
#756B99 — rgb(117, 107, 153)
Tritanopia (Blue-blind)
#4BA1A4 — rgb(75, 161, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 52%, 52%);
text
color: hsl(151, 52%, 52%);
border
border: 2px solid hsl(151, 52%, 52%);
gradient light
background: linear-gradient(to right, hsl(151, 52%, 72%), hsl(151, 52%, 52%));
gradient dark
background: linear-gradient(to right, hsl(151, 52%, 52%), hsl(151, 52%, 32%))
hex
background-color: #45C487;
tailwind
bg-[hsl(151,52%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 52%, 52%, 0.4);
css variable
--color-primary: hsl(151, 52%, 52%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 52%, 52%)?
HEX: #45C487 | RGB: rgb(69, 196, 135) | CMYK: 65%, 0%, 31%, 23% | HSV: 151°, 65%, 77%. Copy any format from the conversion table above.
What colors go well with #45C487?
The complementary color is HSL(331, 52%, 52%). 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, 52%, 52%) in CSS?
As HSL: color: hsl(151, 52%, 52%); — As HEX: color: #45C487; — As RGB: color: rgb(69, 196, 135); — Tailwind CSS: bg-[hsl(151,52%,52%)] — CSS variable: --color-primary: hsl(151, 52%, 52%);