i have here the code..
This does it:
$("div > input[value=hello]").parent().css("color", "red");
Live example
Or if by "color" you really meant "background color":
$("div > input[value=hello]").parent().css("background-color", "red");