HSL(156, 18%, 47%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(156,18%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(156, 18%, 47%) | color: hsl(156, 18%, 47%) | |
| HEX | #628D7C | color: #628D7C | |
| RGB | rgb(98, 141, 124) | color: rgb(98, 141, 124) | |
| CMYK | cmyk(30%, 0%, 12%, 45%) | — | |
| HSV | hsv(156, 30%, 55%) | — | |
| HWB | hwb(156 39% 45%) | color: hwb(156 39% 45%) | |
| OKLCH | oklch(0.6068 0.054 168.01) | color: oklch(0.6068 0.054 168.01) | |
| Lab | lab(55.18 -18.61 4.36) | color: lab(55.18 -18.61 4.36) | |
| LCH | lch(55.18 19.11 166.81) | color: lch(55.18 19.11 166.81) |
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)
#757580 — rgb(117, 117, 128)
Deuteranopia (Green-blind)
#726F81 — rgb(114, 111, 129)
Tritanopia (Blue-blind)
#648384 — rgb(100, 131, 132)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(156, 18%, 47%);
text
color: hsl(156, 18%, 47%);
border
border: 2px solid hsl(156, 18%, 47%);
gradient light
background: linear-gradient(to right, hsl(156, 18%, 67%), hsl(156, 18%, 47%));
gradient dark
background: linear-gradient(to right, hsl(156, 18%, 47%), hsl(156, 18%, 27%))
hex
background-color: #628D7C;
tailwind
bg-[hsl(156,18%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(156, 18%, 47%, 0.4);
css variable
--color-primary: hsl(156, 18%, 47%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(156, 18%, 47%)?
HEX: #628D7C | RGB: rgb(98, 141, 124) | CMYK: 30%, 0%, 12%, 45% | HSV: 156°, 30%, 55%. Copy any format from the conversion table above.
What colors go well with #628D7C?
The complementary color is HSL(336, 18%, 47%). For a triadic harmony, use hues 156°, 276°, and 36°. For analogous combinations, try hues 126° and 186°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(156, 18%, 47%) in CSS?
As HSL: color: hsl(156, 18%, 47%); — As HEX: color: #628D7C; — As RGB: color: rgb(98, 141, 124); — Tailwind CSS: bg-[hsl(156,18%,47%)] — CSS variable: --color-primary: hsl(156, 18%, 47%);