Actually could be both. Amazon swords can tolerate medium-low light, but do better with more.
They are also bi users of iron (yellow of leaves is often a good sign of the lack of iron and other nutrients).
You didn't post your setup- the following would be really helpful:
Size of tank?
What kind/how much light?
Use any fertilizers/tabs/supplements?
Water parameters (ammonia, nitrite, nitrate, pH)?