Given a 𝐶 2 family of vector fields 𝑋 1 , … , 𝑋 𝑚 which induces a continuous Carnot-Carathéodory distance, we show that any absolute minimizer of a supremal functional defined by a 𝐶 2 quasiconvex Hamiltonian 𝑓(𝑥, 𝑠, 𝑝), allowing 𝑠-variable dependence, is a viscosity solution to the Aronsson equation − 𝑚 ∑ 𝑖=1 𝑋 𝑖 (𝑓(𝑥, 𝑢(𝑥), 𝑋𝑢(𝑥))) 𝜕𝑓 𝜕𝑝 𝑖 (𝑥, 𝑢(𝑥), 𝑋𝑢(𝑥)) = 0, M S C 2 0 2 0 35D40, 35R03 (primary)