HSL(151, 40%, 52%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,40%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 40%, 52%) | color: hsl(151, 40%, 52%) | |
| HEX | #54B686 | color: #54B686 | |
| RGB | rgb(84, 182, 134) | color: rgb(84, 182, 134) | |
| CMYK | cmyk(54%, 0%, 26%, 29%) | — | |
| HSV | hsv(151, 54%, 71%) | — | |
| HWB | hwb(151 33% 29%) | color: hwb(151 33% 29%) | |
| OKLCH | oklch(0.7042 0.1175 159.84) | color: oklch(0.7042 0.1175 159.84) | |
| Lab | lab(67.32 -40.14 15.87) | color: lab(67.32 -40.14 15.87) | |
| LCH | lch(67.32 43.16 158.43) | color: lch(67.32 43.16 158.43) |
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)
#7E7F92 — rgb(126, 127, 146)
Deuteranopia (Green-blind)
#797194 — rgb(121, 113, 148)
Tritanopia (Blue-blind)
#599B9D — rgb(89, 155, 157)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 40%, 52%);
text
color: hsl(151, 40%, 52%);
border
border: 2px solid hsl(151, 40%, 52%);
gradient light
background: linear-gradient(to right, hsl(151, 40%, 72%), hsl(151, 40%, 52%));
gradient dark
background: linear-gradient(to right, hsl(151, 40%, 52%), hsl(151, 40%, 32%))
hex
background-color: #54B686;
tailwind
bg-[hsl(151,40%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 40%, 52%, 0.4);
css variable
--color-primary: hsl(151, 40%, 52%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 40%, 52%)?
HEX: #54B686 | RGB: rgb(84, 182, 134) | CMYK: 54%, 0%, 26%, 29% | HSV: 151°, 54%, 71%. Copy any format from the conversion table above.
What colors go well with #54B686?
The complementary color is HSL(331, 40%, 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, 40%, 52%) in CSS?
As HSL: color: hsl(151, 40%, 52%); — As HEX: color: #54B686; — As RGB: color: rgb(84, 182, 134); — Tailwind CSS: bg-[hsl(151,40%,52%)] — CSS variable: --color-primary: hsl(151, 40%, 52%);