Surface analogues are suitable tools to link reservoir models to real facies but they require a robust outcrop-to-subsurface stratigraphic correlation. In this study, we correlate gamma-ray (GR), and porosity logs from nine wells drilled in the Cretaceous Kometan Formation, a prolific carbonate reservoir of northern Iraq, with geochemical logs from three sections representing surface analogues. The sections were sampled for microfacies, X-ray diffraction mineralogy, and element geochemistry using X-ray fluorescence spectrometry calibrated by ICP-MS data. Six microfacies composed of mudstones to packstones with planktonic, and benthic foraminifers were identified in outcrop, and interpreted as middle ramp, outer ramp, and basin deposits. The microfacies show increasing Al and K, and decreasing Ca concentration trends from the middle ramp to the basin settings. Their subsurface analogues are carbonates, marls and shales with benthic foraminifers, deposited in proximal, inner to middle ramp parts of the Kometan mixed carbonate–siliciclastic ramp system. The K + Al logs are correlated for 33 km, and the subsurface GR logs for over 100 km distance, but both reflect detrital admixture in biogenic carbonate. However, the outcrop- and subsurface log patterns show opposite vertical trends. The subsurface, inner ramp GR maxima in the middle Kometan, correlate with the outcrop K + Al minima jointly reflecting landwards and seawards shifts of the middle ramp carbonate factory during transgressions and regressions, respectively. The maxima and minima are interpreted as maximum regression (mrs) and maximum flooding surfaces (mfs) in the T–R sequence-stratigraphic model. Neutron-density and sonic logs indicate that the best reservoir quality is achieved in fractured pure carbonates, which are controlled by these T–R cycles. The results highlight the importance of elemental geochemistry in stratigraphic correlation of lithologically uniform sequences, and suggest that outcrop geochemistry can be correlated with well logs.