if you use PS you can go to save for web then hit the little arrow thingy and if you go choose optimize to file size--type in 150 and it'll do it automatically as close to 150kb for you
I know I technically didn't answer your question but thatll save you from having to figure out the max to keep it under 150 lol