Warm colors are those near the red end of the spectrum, reminiscent of fire: red, orange, yellow.
Cool colors are those near the blue end of the spectrum: purple, blue, cyan.
Green is typically considered within the cool colors, but depending on the hue and context can be warm as well (when in a composition with earthy browns).