Nevermind, I solved the problem. In case anyone else has this problem, I found out that the ambient light sensor (located near the speakers) doesn't allow keyboard illumination unless it's pretty dark (too dark to see the keyboard).
However, if you really like the keyboard illumination and want to use it even when it's not extremely dark, you can use this application I found (which works great btw 😀):