Impossible to know without applying the prism or some other spectral splitter to the specific source of yellow light.
Man sees colour by perceiving excitation of 3 colour receptors - red, green and blue.
All of them have wide absorption bands, and they overlap. Red receptor also has another absorption maximum in violet.
The perception of yellow colour may be caused by a monochromatic light which excites both red and green receptors whose absorption spectra overlap in yellow. Such as sodium lamps, monochromatic at 589 nm.
But mixture of, say, some light at 500 and some light at 700 nm would also excite both of these receptors, and if the lights are in suitable amounts then it can leave perception of yellow which the eye of man has no way to tell apart from the monochromatic light at 589 nm.
A prism or other object with chromatic dispersion, like diffraction grating, would show the difference - monochromatic yellow would not be split, polychromatic would be split.