To study the quantitative relationship between the brightness of the coronal green line 530.5 nm Fe XIV and the strength of the magnetic field in the corona, we have calculated the cross-correlation of the corresponding synoptic maps for the period 1977 - 2001. The maps of distribution of the green-line brightness I were plotted using every-day monitoring data. The maps of the magnetic field strength B and the tangential B-t and radial B-r field components at the distance 1.1 R-. were calculated under potential approximation from the Wilcox Solar Observatory (WSO) photospheric data. It is shown that the correlation I with the field and its components calculated separately for the sunspot formation zone +/- 30 degrees and the zone 40 - 70 degrees has a cyclic character, the corresponding correlation coefficients in these zones changing in anti-phase. In the sunspot formation zone, all three coefficients are positive and have the greatest values near the cycle minimum decreasing significantly by the maximum. Above 40 degrees, the coefficients are alternating in sign and reach the greatest positive values at the maximum and the greatest negative values, at the minimum of the cycle. It is inferred that the green-line emission in the zone +/- 30 degrees is mainly controlled by B-t, probably due to the existence of low arch systems. In the high-latitude zone, particularly at the minimum of the cycle, an essential influence is exerted by B-r, which may be a manifestation of the dominant role of large-scale magnetic fields. Near the activity minimum, when the magnetic field organization is relatively simple, the relation between I and B for the two latitudinal zones under consideration can be represented as a power-law function of the type I proportional to B-q. In the sunspot formation zone, the power index q is positive and varies from 0.75 to 1.00. In the zone 40 - 70 degrees, it is negative and varies from - 0.6 to - 0.8. It is found that there is a short time interval approximately at the middle of the ascending branch of the cycle, when the relationship between I and B vanishes. The results obtained are considered in relation to various mechanisms of the corona heating.