  Photometric observations in Sloan g' and i' bands of four W UMa binaries,
V796 Cep, V797 Cep, CSS J015341.9+381641 and NSVS 3853195, are presented. Our
observations showed that CSS J015404.1+382805 and NSVS 3853195 are the same
star. We determined the initial epochs T_{0} of all targets and improved the
period of NSVS 3853195. The light curve solutions of our data revealed that the
components of each target are almost the same in mass, temperature, radius and
luminosity. The stellar components are of G and K spectral types and undergo
partial eclipses. All systems have barely-overcontact configurations and belong
to H subtype W UMa binaries. We established that the relation between the
luminosity ratio l_{2}/l_{1} and mass ratio q of our targets is approximately
l_{2}/l_{1} = q^{1.5}.
