A measurement is presented of the effective leptonic weak mixing angle ( ) using the forward-backward asymmetry of Drell-Yan lepton pairs ( and ) produced in proton-proton collisions at at the CMS experiment of the LHC. The data correspond to integrated luminosities of 18.8 and in the dimuon and dielectron channels, respectively, containing 8.2 million dimuon and 4.9 million dielectron events. With more events and new analysis techniques, including constraints obtained on the parton distribution functions from the measured forward-backward asymmetry, the statistical and systematic uncertainties are significantly reduced relative to previous CMS measurements. The extracted value of from the combined dilepton data is .