The augmented space approach to the study of random ternary alloys, described in an earlier paper (Alam and Mookerjee 2009 J. Phys.: Condens. Matter 21 195503), has been combined with the generalized recursion method of Viswanath and Muller (1993 The User Friendly Recursion Method, (Troisieme Cycle de la Physique, en Suisse Romande)) and the tight-binding linear muffin-tin orbitals technique (TB-LMTO) to study the optical response in disordered CuxNiyZnz alloys, and compared with existing experimental results.