Form: S-8

Securities to be offered to employees in employee benefit plans

Exhibit 23.1
Consent of Independent Registered Public Accounting Firm

We consent to the use of our reports dated February 28, 2022, with respect to the consolidated financial statements of Castle Biosciences, Inc. and the effectiveness of internal control over financial reporting, incorporated herein by reference.

/s/ KPMG LLP

San Diego, California
February 28, 2022