A stray brush mark is easy to miss on a drawer laid flat. Put the drawer back in the dresser and that mark can jump out against the second color. Choose where the colors meet while the drawers are still in place, then take them out to prepare and paint.
Set the color break while the drawers are in place
Close the drawers and look at the dresser straight on and from each side. The simplest split gives the entire drawer front one color and the frame around it the other. On a molded front, choose one straight shoulder or ridge to carry the boundary consistently across the drawers.

Use small painted samples to check the colors against the floor and wall. Look for enough contrast to make the separation clear. Make a quick sketch or take a photo before you pull the drawers out.
Prepare the fronts and protect the moving parts
Remove knobs and pulls, then label each drawer on the back or underside so it returns to the original opening. Clean off grease and wax using a method suited to the existing finish. Fill surface dents where they interrupt the planned paint line and use primer and surface prep approved for your chosen paint.

If old paint might contain lead, check for lead and follow local guidance before sanding. Keep primer and paint off the runners, slides and tight bearing surfaces. Use thin coats near mating edges so the painted drawers still have room to close.
Let the base color firm up before masking
Paint the base color where the two colors will meet and wait until the surface can take tape. Read the paint and tape instructions for masking fresh finishes. The paint can feel dry before it has enough strength to survive peeling.

Start with suitable low tack painter’s tape on a discreet part of the same coating. Use a single clean strip where possible. Line it up with the same feature on every front and press the paint side edge down firmly without stretching the strip.
Seal the tape edge with the base color
Brush a thin coat of the base color along the edge of the tape where the second color will land. If a little paint slips into a gap, it will be the color already underneath. Let that seal reach the paint’s recommended recoat stage, then lay the second color on in thin passes.

Brush away from the tape edge or roll lightly across it. Avoid leaving a wet ridge against the tape. For a deep groove or rounded detail, test the seal on a spare piece first. A less complicated straight break may give a cleaner result.
Peel at a low angle and check the line
Follow the tape maker’s removal timing. Pull the tape slowly back over itself at a low angle. If the paint has dried into a continuous film over the tape and starts to lift, stop pulling. Carefully separate the paint film at the boundary before continuing, using just enough pressure to cut the film.

Let the paint dry before fixing a small bleed with the base color and a fine artist brush. For a rough ridge, wait until the coating is hard enough for the maker’s touchup instructions. Further work on soft paint can pull up a longer section.
Reinstall the drawers without scuffing the edges
Follow the furniture paint directions for handling, normal use and cure. Put the hardware and each drawer back gently when the finish is ready. Open and close each drawer slowly the first time and check for contact before you load it.

Look across all the drawer fronts from the spot where you first chose the boundary. If an edge rubs, check alignment and clearance before adding another coat. A clean line lasts longer when the painted edges have space to move.