Yellow, cyan, and magenta don't correspond to particular wavelengths. They each correspond to a combination of two particular, adjacent wavelengths.
E.g. a "yellow" wavelength is only as bright as its decomposition into red and green. The fact that red & blue aren't adjacent is a red herring.