In atomic emission spectroscopy, when potassium ions are excited in a flame, they emit light at characteristic wavelengths. The most prominent emission line for potassium is in the red region of the spectrum, specifically at 766 nm. While potassium also has other emission lines, the 766 nm line is the most intense and is typically used for its detection and quantification in techniques like flame photometry. The sodium emission line is at 589 nm (yellow), lithium is at 670 nm (red), and other elements have different characteristic emission wavelengths.