Explanation
No. Dogs can distinguish blue and yellow, so their color vision is not restricted to yellow. They have dichromatic vision, meaning their eyes use two types of cone photoreceptors for color perception.
A 1989 study tested color discrimination in three dogs. Its behavioral results supported the presence of two cone pigment classes and dichromatic color vision. A veterinary explanation published by VCA Canada independently describes dogs as able to distinguish blue and yellow.
Dogs do not distinguish the full range of colors that most humans do. Their color discrimination resembles human red-green color blindness. This does not make objects of other colors invisible: those objects can appear in different hues or shades.
Key takeaway
Dogs have limited color vision that includes blue and yellow, rather than yellow alone.