After chemistry class on a recent weekday, sophomore Katherine Ho sat at an outdoor table in USC Village and shared the “series of surprises” that led the pre-med student’s rendition of Coldplay’s “Yellow” to appear during the climactic scene in the hit movie “Crazy Rich Asians.”

Sung in Mandarin, Ho’s “Yellow” moment in the movie wasn’t a foregone conclusion. Its placement sparked active behind-the-scenes conversations in the music department on the intricacies of language and lyrical intent. Licensing the song even required a personal plea from director Jon Chu to members of Coldplay that spoke to the history of Asian representation in pop culture. For her part, Ho was one of dozens vying to cover “Yellow.”

A first-generation Chinese-American from Woodland Hills, Calif., the 19-year-old is a lifelong singer who has performed on the NBC singing competition show “The Voice.” She is also minoring in songwriting at the University of Southern California.

Ho said, “It’s really cool that this word — yellow — and the song have a deeper meaning past just the plot of the film.” She and her friends, she added, “were never that proud to call ourselves ‘yellow.’ It definitely had a lot of negativity associated with it.”

The chance to shift its meaning came in February. Ho received a text from a former voice teacher asking whether she’d “be down to submit a demo for an unnamed film and TV project,” she said. “He was looking for a young girl who could sing Mandarin.” Ho grew up in a Mandarin-­speaking household, and “Yellow” was one of her favorite songs. She got to work.

Despite the fact that she was starting her second semester as a freshman — and was overwhelmed with studies — late one night, she got her dad on the phone to perfect the Mandarin lyrics for “Yellow,” working line by line through meanings and inflections.

“I actually fell asleep at the piano and woke up the next morning and recorded it before class,” Ho said.

Ho auditions for a lot of stuff, so she filed the session in her memory bank and returned to her biology classes. When she found out she got the job, she still didn’t know how it would be used. She was told to show up at a Burbank studio, but it wasn’t until about an hour before the session that the studio team called to tell her the song was for “Crazy Rich Asians.”

“I freaked out in the car with my dad, who was there to help me with the dialect stuff,” Ho said. “After I found out it was going to be played at the very end of the film, it freaked me out even more.”

The song was one of a number that Chu and music supervisor Gabe Hilfer had contemplated when brainstorming the movie-ending sequence.

Released in 2000, Coldplay’s vaguely structured lyrics offer ample opportunity for interpretation, Ho said. “For me, the song’s about taking a risk. Not really knowing for sure whether or not this love is going to pay off and being very hesitant. But in the end, you go for it, and you are brave.”

For Chu, “Yellow” resonated as a kind of anthem, he wrote in a letter to Coldplay after the group initially declined its use in the film. Penned to the individual members of the band, Chu’s note, which was provided to the Times by Warner Bros., describes the song as “an anthem for me and friends [that] gave us a new sense of pride we never felt before.”

The words, he said, offered such “an incredible image of attraction and aspiration that it made me rethink my own self-image.”

Ho said that after she read Chu’s note, she felt the song even more deeply. “I could almost quote the letter now because I’ve read it so many times,” she said.

Ho’s voice resonated with the production team.

“The second we heard it, Jon loved it,” Hilfer said. A few days later, Ho was in the studio, and a few months after that, she and a friend went to an early screening. During the exuberant closing scene, she heard herself “put a ­Mandarin twist on one of my all-time favorite songs.”

Now, she said, she’s onto a new challenge: “the whole what-to-do-with-my-life thing.”