HSL(151, 70%, 54%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,70%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 70%, 54%) | color: hsl(151, 70%, 54%) | |
| HEX | #38DC8C | color: #38DC8C | |
| RGB | rgb(56, 220, 140) | color: rgb(56, 220, 140) | |
| CMYK | cmyk(75%, 0%, 36%, 14%) | — | |
| HSV | hsv(151, 75%, 86%) | — | |
| HWB | hwb(151 22% 14%) | color: hwb(151 22% 14%) | |
| OKLCH | oklch(0.7936 0.1747 156.54) | color: oklch(0.7936 0.1747 156.54) | |
| Lab | lab(78.41 -59.28 27.72) | color: lab(78.41 -59.28 27.72) | |
| LCH | lch(78.41 65.44 154.94) | color: lch(78.41 65.44 154.94) |
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)
#7F809F — rgb(127, 128, 159)
Deuteranopia (Green-blind)
#7669A4 — rgb(118, 105, 164)
Tritanopia (Blue-blind)
#40AFB2 — rgb(64, 175, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 70%, 54%);
text
color: hsl(151, 70%, 54%);
border
border: 2px solid hsl(151, 70%, 54%);
gradient light
background: linear-gradient(to right, hsl(151, 70%, 74%), hsl(151, 70%, 54%));
gradient dark
background: linear-gradient(to right, hsl(151, 70%, 54%), hsl(151, 70%, 34%))
hex
background-color: #38DC8C;
tailwind
bg-[hsl(151,70%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 70%, 54%, 0.4);
css variable
--color-primary: hsl(151, 70%, 54%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 70%, 54%)?
HEX: #38DC8C | RGB: rgb(56, 220, 140) | CMYK: 75%, 0%, 36%, 14% | HSV: 151°, 75%, 86%. Copy any format from the conversion table above.
What colors go well with #38DC8C?
The complementary color is HSL(331, 70%, 54%). 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, 70%, 54%) in CSS?
As HSL: color: hsl(151, 70%, 54%); — As HEX: color: #38DC8C; — As RGB: color: rgb(56, 220, 140); — Tailwind CSS: bg-[hsl(151,70%,54%)] — CSS variable: --color-primary: hsl(151, 70%, 54%);