They are factors, yes.
Like the species of fence lizards found in Germany, and the kind of reptile I grew up with: green is male, brown is female - usually, with exceptions like juveniles are always brown/ brown-grey, the amount of green in males can vary, males outside of breeding season can look like the brightest females...
Those two are obvious:
https://naturdetektive.bfn.de/fileadmin/_processed_/3/c/csm_Zauneidechsen_gemeinfrei_19ef29bdee.jpg
Also female, with a bit of green:
https://www.waldwissen.net/assets/w...l_zauneidechse/wsl_zauneidechse_weibchen.jpeg
Likely juvenile but quite green for a juvenile, might be male, might be a quite green female:
https://www.deutschlands-natur.de/img/visuals/amphibien-reptilien/zauneidechse.jpg
And that one:
https://www.natura2000-lsa.de/cache/8316bb68e33ea29e09fc0823889e9a66.jpg
So in fact more complicated, despite I would still say as a good rule-of-thumb: bright coloration (and if the species has it, larger chin flaps) is male, muted coloration is female for a species showing gender dimorphism.
Then add in where something might have developed a bit mixed, like reproductive organs like one gender, hormone level more like the other one (e.g. female, high testosterone) and thus the appearance isn't defined that clearly (and that animal might even be infertile or technically fertile but offspring won't develop well if it's too much "in between").
AFAIK not for this species, but there are species where some male look more female to avoid having to fight males and rather try breeding when none looks, as well as some female tend to look more male to get rid of "unwanted attention", i.e. avoid the energy it takes to mate more than once thus having more energy for producing healthy eggs and males must be quicker in reproducing.
There is this study claiming that for western fence lizards, looking more male as a female doesn't work out well:
Blue coloration on female fence lizards induces males to look for another mate, creating a mystery of why these markings persist.
www.livescience.com
On possible reasons for that look despite they seem to be less attractive for males, from article:
"So, why do females have blue markings at all, if they're so detrimental? It's possible that the markings are related to a trait that helps the ladies out in other ways. Because blue-bellied gals have higher testosterone, they might be more aggressive or competitive in times of scarcity. Or, perhaps they have vividly colored "really sexy sons" that pass on their genes prolifically, Langkilde said. Or maybe there's no reason at all."
For yours, at least, despite that lizard had been quite bright by your description, I think behavior and look are matching up well now.