Nothing means no changes.
Green means saved changes. These will disappear when the file is closed and reopened.
Bright yellow means unsaved changes. These change to green when the file is saved.
Dark yellow means unsaved undos (i.e. you’ve made and edit and then hit Ctrl+Z). These disappear when the file is saved.