Yellow is a primary color in subtractive color systems used in both painting or color printing!
That sounds like a versatile color. What is a subtractive color system?
A subtractive color is a model that explains the mixing of a limited set of dyes, inks, paint pigments or anything similar to create a wider range of clors. Each diffrent colo is the result of partially or completely subtracting (aka absorbing) some wavelengths of light and not others.