Colonel comes from Old Italian colonello, commander of a column of troops, which in turn derives from colonna,column. English usage followed Spanish practice (also a French variant) and spelled the word "coronel," pronounced the way it looks. Eventually this was corrupted to ker-nel.

When the written version became "colonel" (reflecting its Latin origin), the "kernel" pronunciation remained.