HSL(159, 12%, 54%)
Grayish Cyan — Cyan color
Adjust Color
Color Information
Color Name
Grayish Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(159,12%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 12%, 54%) | color: hsl(159, 12%, 54%) | |
| HEX | #7C988E | color: #7C988E | |
| RGB | rgb(124, 152, 142) | color: rgb(124, 152, 142) | |
| CMYK | cmyk(18%, 0%, 7%, 40%) | — | |
| HSV | hsv(159, 18%, 60%) | — | |
| HWB | hwb(159 49% 40%) | color: hwb(159 49% 40%) | |
| OKLCH | oklch(0.6552 0.0348 171.5) | color: oklch(0.6552 0.0348 171.5) | |
| Lab | lab(60.51 -11.92 2.01) | color: lab(60.51 -11.92 2.01) | |
| LCH | lch(60.51 12.09 170.43) | color: lch(60.51 12.09 170.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)
#888890 — rgb(136, 136, 144)
Deuteranopia (Green-blind)
#878491 — rgb(135, 132, 145)
Tritanopia (Blue-blind)
#7D9293 — rgb(125, 146, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 12%, 54%);
text
color: hsl(159, 12%, 54%);
border
border: 2px solid hsl(159, 12%, 54%);
gradient light
background: linear-gradient(to right, hsl(159, 12%, 74%), hsl(159, 12%, 54%));
gradient dark
background: linear-gradient(to right, hsl(159, 12%, 54%), hsl(159, 12%, 34%))
hex
background-color: #7C988E;
tailwind
bg-[hsl(159,12%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 12%, 54%, 0.4);
css variable
--color-primary: hsl(159, 12%, 54%);
Related Colors
Use Cases for Grayish Cyan
Frequently Asked Questions
What are all the color codes for HSL(159, 12%, 54%)?
HEX: #7C988E | RGB: rgb(124, 152, 142) | CMYK: 18%, 0%, 7%, 40% | HSV: 159°, 18%, 60%. Copy any format from the conversion table above.
What colors go well with #7C988E?
The complementary color is HSL(339, 12%, 54%). 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, 12%, 54%) in CSS?
As HSL: color: hsl(159, 12%, 54%); — As HEX: color: #7C988E; — As RGB: color: rgb(124, 152, 142); — Tailwind CSS: bg-[hsl(159,12%,54%)] — CSS variable: --color-primary: hsl(159, 12%, 54%);