macOS System Preferences let you change the keyboard backlight settings on MacBooks, but there aren’t many options, and they may not be enough for fine-tuning.
With the Dim Keys utility, you can set the exact brightness and sensitivity of the keyboard backlight.

The utility is completely free to download.