Does dim light give disadvantage?

Yes, in D&D 5e, dim light causes areas to be lightly obscured. Creatures have disadvantage on Wisdom (Perception) checks that rely on sight within dim light. It does not impose disadvantage on attack rolls or other skill checks. Creatures with darkvision perceive dim light as bright light, so they do not experience this disadvantage on perception checks.