RYB (an abbreviation of red-yellow-blue) is a historical set of subtractive primary colors. It is primarily used in art and design education, particularly painting. It predates much of modern scientific color theory.
[...]
In his experiments with light, Isaac Newton recognized that colors could be created by mixing color primaries. In his Opticks, Newton published a color wheel to show the geometric relationship between these primaries. This chart was later confused and understood to apply to pigments as well, though Newton was also unaware of the differences between additive and subtractive color mixing.
[...]
Painters have long used more than three RYB primary colors in their palettes – and at one point considered red, yellow, blue, and green to be the four primaries. Red, yellow, blue, and green are still widely considered the four psychological primary colors, though red, yellow, and blue are sometimes listed as the three psychological primaries, with black and white occasionally added as a fourth and fifth.