Abstract
The flag $f$-vectors of three-colored complexes are characterized. This also characterizes the flag $h$-vectors of balanced Cohen-Macaulay complexes of dimension two, as well as the flag $h$-vectors of balanced shellable complexes of dimension two.