The invention discloses an environmentally-friendly mixed refrigerant used for replacing R134a and a preparation method of the refrigerant. The environmentally-friendly mixed refrigerant used for replacing the R134a is composed of the following components, in percentages by molar: 29-92% of 3,3,3-trifluoropropene, 3-20% of difluoromethane and 5-61% of 1,1,1,2-tetrafluoroethane. According to the refrigerant and preparation method provided by the invention, the 3,3,3-trifluoropropene and the 1,1,2,2-tetrafluoroethane are added into the 1,1,1,2-tetrafluoroethane, so that the environmentally-friendly properties of the mixed refrigerant are improved, and the GWP value is significantly reduced compared with that of the R134a; in addition, the environmentally-friendly mixed refrigerant prepared by the method has excellent thermal parameters and thermal performance, the circulation efficiency, the refrigeration coefficient and the unit volume refrigeration capacity in the refrigeration systemare superior or equivalent to those of the R134a, the saturated vapor pressure is similar to that of the R134a, and the refrigerant can directly replace the R134a. The invention also discloses the environmentally-friendly mixed refrigerant. Fe2O3, MnO2, ZnO or Al2O3 nanoparticles are added into the above mixture, so that compatibility between the refrigerant and mineral-type refrigerating machineoil is improved.