We present a method for robust timekeeping in which alkali-metal atoms are interrogated in a Ramsey sequence based on stimulated Raman transitions with optical photons. To suppress systematic effects introduced by differential ac Stark shifts and optical intensity gradients, we employ atom optics derived from Raman adiabatic rapid passage (ARP). Raman ARP drives coherent transfer between the alkali-metal hyperfine ground states via a sweep of the Raman detuning through the two-photon resonance. Our experimental implementation of Raman ARP reduced the phase sensitivity of Ramsey sequences to Stark shifts in 133 Cs atoms by about two orders of magnitude, relative to fixed-frequency Raman transitions. This technique also preserved Ramsey fringe contrast for cloud displacements reaching the 1/e 2 intensity radius of the laser beam. In a magnetically unshielded apparatus, second-order Zeeman shifts limited the fractional frequency uncertainty to ∼3.5 × 10 −12 after about 2500 s of averaging.