https://tobiasconradi.com/music/notation/key_signature.php

Key signature

Key SignatureMajor ScaleMinor Scale
7bCb majorAb minor
6bGb majorEb minor
5bDb majorBb minor
4bAb majorF minor
3bEb majorC minor
2bBb majorG minor
1bF majorD minor
0C majorA minor
1#G majorE minor
2#D majorB minor
3#A majorF# minor
4#E majorC# minor
5#B majorG# minor
6#F# majorD# minor
7#C# majorA# minor