If you’re just doing glamour shots, then go with what looks best. But if you’re trying to to accurate keycap or keyboard photos, then one of the biggest impediments to getting accurate colors is white balance. And nothing will throw colors off faster than your camera trying to be helpful and using automatic white balance.
If your camera allows it, create a custom calibrated white balance, otherwise set it to “Daylight” if you can. If the colors look off on the photo, it becomes much easier to correct them in post when you start with a stable baseline.
If you can afford it, get hold of a color checker card or a photographer’s gray card (18% neutral gray) and include it in a couple beginning shots. The photographer’s gray square or gray card can be eye-droppered for white balance (either by you, by a friend, or by someone online) and the rest of the photoshoot adjusted accordingly to get more accurate color representation.
Edit: @norbauer Photographer’s gray is light gray