HSL(157, 56%, 20%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(157,56%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(157, 56%, 20%) | color: hsl(157, 56%, 20%) | |
| HEX | #16503A | color: #16503A | |
| RGB | rgb(22, 80, 58) | color: rgb(22, 80, 58) | |
| CMYK | cmyk(73%, 0%, 28%, 69%) | — | |
| HSV | hsv(157, 73%, 31%) | — | |
| HWB | hwb(157 8% 69%) | color: hwb(157 8% 69%) | |
| OKLCH | oklch(0.3874 0.0706 163.98) | color: oklch(0.3874 0.0706 163.98) | |
| Lab | lab(29.94 -24.65 7.63) | color: lab(29.94 -24.65 7.63) | |
| LCH | lch(29.94 25.8 162.8) | color: lch(29.94 25.8 162.8) |
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)
#2F303F — rgb(47, 48, 63)
Deuteranopia (Green-blind)
#2C2741 — rgb(44, 39, 65)
Tritanopia (Blue-blind)
#194444 — rgb(25, 68, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(157, 56%, 20%);
text
color: hsl(157, 56%, 20%);
border
border: 2px solid hsl(157, 56%, 20%);
gradient light
background: linear-gradient(to right, hsl(157, 56%, 40%), hsl(157, 56%, 20%));
gradient dark
background: linear-gradient(to right, hsl(157, 56%, 20%), hsl(157, 56%, 0%))
hex
background-color: #16503A;
tailwind
bg-[hsl(157,56%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(157, 56%, 20%, 0.4);
css variable
--color-primary: hsl(157, 56%, 20%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(157, 56%, 20%)?
HEX: #16503A | RGB: rgb(22, 80, 58) | CMYK: 73%, 0%, 28%, 69% | HSV: 157°, 73%, 31%. Copy any format from the conversion table above.
What colors go well with #16503A?
The complementary color is HSL(337, 56%, 20%). For a triadic harmony, use hues 157°, 277°, and 37°. For analogous combinations, try hues 127° and 187°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(157, 56%, 20%) in CSS?
As HSL: color: hsl(157, 56%, 20%); — As HEX: color: #16503A; — As RGB: color: rgb(22, 80, 58); — Tailwind CSS: bg-[hsl(157,56%,20%)] — CSS variable: --color-primary: hsl(157, 56%, 20%);