A more detailed description would have helped - from your vague details, and given the country, it sounds like a garter snake.
Garder-snake; multi color green, yellow and black stripes length of body.
The red and yellow stripes are touching. If it is a scarlet king snake red stripes and black stripes will touch. Your welcome.
If the stripes are light in color, maybe even off white it could be a CA king snake.
I think it's the Boomslang Snake
Yellow on top with the body yellow and white mixed,, And
There are a lot of snakes that are brown with yellow stripes. A garter snake can be brown with yellow stripes, as well as some king snakes, and worm snakes.
A Coral snake. It has bands of red, yellow and black around its body.
It;s probably a gardner snake. A lot of them are tan with stripes.
Its a garter snake wich is harmless they have those colors because theyve been in the shade for a long time.
garter snake - in Sunday Express crossword 2nd N ov o8
The eastern ribbon snake typically has three long yellow stripes running along its body, with a black or dark brown background color. Sometimes, these stripes may be a brighter yellow or orange color.
A black snake with yellow markings typically has a dark black body with distinct yellow patterns or stripes. These markings can vary in shape and size, but they are usually vibrant and easily noticeable against the snake's dark coloration.