The prediction about the accelerating expansion of the universe introduced the concept of dark energy. Since then, a plethora of work has been done to explain the origin and nature of dark energy. This work deals with the possibility of obtaining cosmic acceleration of a new kind of dark energy, viz., Yang–Mills condensate dark energy in generalized Brans–Dicke theory with variable or constant [Formula: see text] (Brans–Dicke parameter) and vanishing and non-vanishing self-interacting potential. We assume the scale factor and scalar field in power law form. Then we investigate the above model to determine whether the universe is accelerating. We obtain a redshift-dependent equation of state parameter, which describes the phase transition of the universe. We notice that the equation of the state parameter meets the [Formula: see text] cold dark matter (CDM) limit in the far future. Then we study the [Formula: see text] analysis to get the thawing or freezing region. We study the stability of the model by studying the square speed of sound. Last, the nature of the scalar field and the potential are analyzed for four cases.