In the additive color model (used for light and displays), the primary colors are red, green, and blue (RGB). Yellow is a secondary color formed by mixing red and green light. In subtractive color mixing (paints and pigments), yellow is considered a primary color along with magenta and cyan (or traditionally red, yellow, and blue). The question is referring to the additive color model.