in lower temperature, low light, java moss will grow greener color and lush if you add some fertilizer.
How do I keep my aquarium moss green?
One of the most important areas to remember when propagating aquatic moss in your planted tank is that mosses prefer moderately cool water temperatures, so you should set your heaters in the 21-24oC range. The best way to encourage mosses in your aquarium to look great and to grow quickly is to keep them cool.
Why is my java moss yellow?
I also experience the same problem, I tried to bring it back with the nicest condition but it is pronounce dead when it is that color. My java moss turn yellow when the water temperature gets hot(90F) and it gradually turns yellow then dies off.