HSL(156, 20%, 34%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(156,20%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(156, 20%, 34%) | color: hsl(156, 20%, 34%) | |
| HEX | #45685A | color: #45685A | |
| RGB | rgb(69, 104, 90) | color: rgb(69, 104, 90) | |
| CMYK | cmyk(34%, 0%, 13%, 59%) | — | |
| HSV | hsv(156, 34%, 41%) | — | |
| HWB | hwb(156 27% 59%) | color: hwb(156 27% 59%) | |
| OKLCH | oklch(0.4861 0.0464 167.5) | color: oklch(0.4861 0.0464 167.5) | |
| Lab | lab(41.06 -15.98 3.9) | color: lab(41.06 -15.98 3.9) | |
| LCH | lch(41.06 16.45 166.28) | color: lch(41.06 16.45 166.28) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#54545D — rgb(84, 84, 93)
Deuteranopia (Green-blind)
#52505E — rgb(82, 80, 94)
Tritanopia (Blue-blind)
#476061 — rgb(71, 96, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(156, 20%, 34%);
text
color: hsl(156, 20%, 34%);
border
border: 2px solid hsl(156, 20%, 34%);
gradient light
background: linear-gradient(to right, hsl(156, 20%, 54%), hsl(156, 20%, 34%));
gradient dark
background: linear-gradient(to right, hsl(156, 20%, 34%), hsl(156, 20%, 14%))
hex
background-color: #45685A;
tailwind
bg-[hsl(156,20%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(156, 20%, 34%, 0.4);
css variable
--color-primary: hsl(156, 20%, 34%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(156, 20%, 34%)?
HEX: #45685A | RGB: rgb(69, 104, 90) | CMYK: 34%, 0%, 13%, 59% | HSV: 156°, 34%, 41%. Copy any format from the conversion table above.
What colors go well with #45685A?
The complementary color is HSL(336, 20%, 34%). 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, 20%, 34%) in CSS?
As HSL: color: hsl(156, 20%, 34%); — As HEX: color: #45685A; — As RGB: color: rgb(69, 104, 90); — Tailwind CSS: bg-[hsl(156,20%,34%)] — CSS variable: --color-primary: hsl(156, 20%, 34%);