Published 22-10-2026
Keywords
- facial skin color,
- hybrid features,
- Color Moments,
- YCbCr,
- GLCM
- KNN ...More
Copyright (c) 2026 Nurul Agustina, Radhiyatammardhiyyah, Cut Aulia Safira Rahman (Author)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Abstract
Facial skin color classification can still be affected by differences in lighting, cameras, and image conditions, causing visual assessment to potentially produce inconsistent results. This study aims to develop a facial skin color classification system using a combination of color and texture features and the K-Nearest Neighbor (KNN) algorithm. The research data consist of primary and secondary datasets. The research stages include data collection, preprocessing, color feature extraction using Color Moments in the YCbCr color space, texture feature extraction using Gray Level Co-occurrence Matrix (GLCM), hybrid feature construction, KNN classification, and performance evaluation. The color and texture features are combined into a hybrid feature representation, which is then used as the input for KNN. K-value testing was conducted using several configurations to determine the optimal parameter. The results show that K = 3 achieved the highest performance in both dataset scenarios. The primary dataset achieved an accuracy of 90.61%, while the secondary dataset achieved an accuracy of 87.43%. Class-wise evaluation indicates that the model can recognize all three skin color categories with good performance. The results demonstrate that combining color and texture information can be an effective approach for facial skin color classification.
Downloads
References
- S. Kye and O. Lee, “Skin color classification of Koreans using clustering,” Skin Research and Technology, vol. 28, no. 6, pp. 796–803, 2022, doi: 10.1111/srt.13201.
- G. A. Tadesse et al., “Skin Tone Analysis for Representation in Educational Materials (STAR-ED) using machine learning,” NPJ Digit. Med., vol. 6, p. 151, 2023, doi: 10.1038/s41746-023-00881-0.
- R. A. Rejón Piña and C. Ma, “Classification Algorithm for Skin Color (CASCo): A new tool to measure skin color in social science research,” Soc. Sci. Q., vol. 104, no. 2, pp. 168–179, 2023, doi: 10.1111/ssqu.13242.
- Y. Apridiansyah and E. D. Putra, “Segmentasi Warna Kulit Menggunakan Ruang Warna YCBCR Untuk Deteksi Wajah Manusia,” Jurnal Media Infotama, vol. 19, no. 1, pp. 205–210, 2023, doi: 10.37676/jmi.v19i1.3808.
- G. Jung, S. Kim, and S. Yoo, “Skin Tone Analysis Through Skin Tone Map Generation With Optical Approach and Deep Learning,” Skin Research and Technology, vol. 30, no. 10, p. e70088, 2024, doi: 10.1111/srt.70088.
- A. Hamrani et al., “AI Dermatochroma Analytica (AIDA): Smart Technology for Robust Skin Color Classification and Segmentation,” Cosmetics, vol. 11, no. 6, p. 218, 2024, doi: 10.3390/cosmetics11060218.
- X. Yu, K. G. Ong, and M. A. McGeehan, “Skin Phototype Classification with Machine Learning Based on Broadband Optical Measurements,” Sensors, vol. 24, no. 22, p. 7397, 2024, doi: 10.3390/s24227397.
- P. Ulrich, A. Zink, T. Biedermann, and S. Sitaru, “Beyond Fitzpatrick: automated artificial intelligence-based skin tone analysis in dermatological patients,” NPJ Digit. Med., vol. 8, no. 1, p. 378, 2025, doi: 10.1038/s41746-025-01770-4.
- M. R. Syahputra et al., “Accurate Skin Tone Classification for Foundation Shade Matching using GLCM Features-K-Nearest Neighbor Algorithm,” Jurnal Teknik Informatika (JUTIF), vol. 6, no. 5, pp. 3558–3571, 2025, doi: 10.52436/1.jutif.2025.6.5.4723.
- A. D. Putri and S. Adrianto, “Prediksi Pemilihan Warna Hijab Berdasarkan Tone Kulit Menggunakan Algoritma K-Nearest Neighbor (KNN),” Jurnal Indonesia: Manajemen Informatika dan Komunikasi, vol. 6, no. 3, pp. 1742–1755, 2025, doi: 10.63447/jimik.v6i3.1580.
- S.-Z. Shi, T. Sheng, Y.-Y. Wang, K.-K. Zhang, S. Liu, and H.-W. Gao, “Color-deconvolution-based feature image extraction and application in water quality analysis,” Analytical Methods, vol. 14, pp. 4912–4920, 2022, doi: 10.1039/D2AY01600A.
- E. Winarno, A. Septiarini, W. Hadikurniawati, and H. Hamdani, “The Hybrid Features and Supervised Learning for Batik Pattern Classification,” Journal on Computing and Cultural Heritage, vol. 17, no. 2, pp. 1–13, 2024, doi: 10.1145/3631131.
- I. Z. Nisa, S. N. Endah, P. S. Sasongko, R. Kusumaningrum, K. Khadijah, and R. Rismiyati, “Klasifikasi Citra Sampah Menggunakan Support Vector Machine dengan Ekstraksi Fitur Gray Level Co-Occurrence Matrix dan Color Moments,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 9, no. 5, pp. 921–930, 2022, doi: 10.25126/jtiik.2022954868.
- L. S. A. Putra, V. A. Gunawan, and A. S. Saragih, “Detection of Actinic Keratosis Skin Cancer Using Gray Level Co-occurrence Matrix Texture Extraction and Color Extraction With Support Vector Machine Classification,” TEKNIK, vol. 44, no. 2, pp. 158–166, 2023, doi: 10.14710/teknik.v44i2.44895.
- J. H. Cabot and E. G. Ross, “Evaluating prediction model performance,” Surgery, vol. 174, no. 3, pp. 723–726, 2023, doi: 10.1016/j.surg.2023.05.023.
- A. Vanacore, M. S. Pellegrino, and A. Ciardiello, “Fair evaluation of classifier predictive performance based on binary confusion matrix,” Comput. Stat., vol. 39, pp. 363–383, 2024, doi: 10.1007/s00180-022-01301-9.
- C. Miller, T. Portlock, D. M. Nyaga, and J. M. O’Sullivan, “A review of model evaluation metrics for machine learning in genetics and genomics,” Frontiers in Bioinformatics, vol. 4, p. 1457619, 2024, doi: 10.3389/fbinf.2024.1457619.
- L. B. V de Amorim, G. D. C. Cavalcanti, and R. M. O. Cruz, “The choice of scaling technique matters for classification performance,” Appl. Soft Comput., vol. 133, p. 109924, 2023, doi: 10.1016/j.asoc.2022.109924.
- alsabila, S. Martha, and W. Andani, “Komparasi Algoritma K-Nearest Neighbor dengan Euclidean Distance dan Manhattan Distance untuk Klasifikasi Stunting Balita,” BIMASTER, vol. 13, no. 2, pp. 285–292, 2024, doi: 10.26418/bbimst.v13i2.77245.
- S. I. P. Sari, W. J. Pranoto, and N. A. Verdikha, “Analisis Pengaruh Gain Ratio Untuk Algoritma K-Nearest Neighbor Pada Klasifikasi Data Banjir di Kota Samarinda,” Jurnal Sains Komputer dan Teknologi Informasi, vol. 6, no. 1, pp. 54–59, 2023, doi: 10.33084/jsakti.v6i1.5472.
- T. M. S. Mulyana, “Implementasi Algoritma K-Nearest Neighbor Untuk Rekomendasi Smartphone,” PETIR, vol. 16, no. 1, 2023, doi: 10.33322/petir.v16i1.1707.
- R. Soekarta and K. R. Ku-Mahamud, “Recent Facial Image Preprocessing Techniques: A Review,” Engineering Proceedings, vol. 84, no. 1, p. 39, 2025, doi: 10.3390/engproc2025084039.
- N. Nurapipah and S. S. Yuliana, “Skin Tone Classification in Digital Images Using CNN For Make-Up and Color Recommendation,” Journal of Intelligent Systems Technology and Informatics, vol. 1, no. 3, pp. 78–85, 2025, doi: 10.64878/jistics.v1i3.29.
- S. Saiwaeo, S. Arwatchananukul, L. Mungmai, W. Preedalikit, and N. Aunsri, “Human skin type classification using image processing and deep learning approaches,” Heliyon, vol. 9, no. 11, p. e21176, 2023, doi: 10.1016/j.heliyon.2023.e21176.
- A. Pandey, M. S. Teja, P. Sahare, V. Kamble, M. Parate, and M. F. Hashmi, “Skin cancer classification using non-local means denoising and sparse dictionary learning based CNN,” Journal of Electrical Systems and Information Technology, vol. 11, no. 36, 2024, doi: 10.1186/s43067-024-00162-0.
- S. Kapoor and A. Narayanan, “Leakage and the reproducibility crisis in machine-learning-based science,” Patterns, vol. 4, no. 9, p. 100804, 2023, doi: 10.1016/j.patter.2023.100804.
- C. I. Purba, Alrizal, and Y. Fendriani, “Klasifikasi Kanker Kulit dari Citra Dermoskopi Menggunakan Fitur Gray Level Co-occurrence Matrix (GLCM) dengan Algoritma Machine Learning,” JFT: Jurnal Fisika dan Terapannya, vol. 12, no. 1, pp. 30–44, 2025, doi: 10.24252/jft.v12i1.56651.
- S. Mustafa, A. Jaffar, M. W. Iqbal, A. Abubakar, A. S. Alshahrani, and A. Alghamdi, “Hybrid Color Texture Features Classification Through ANN for Melanoma,” Intelligent Automation & Soft Computing, vol. 35, no. 2, pp. 2205–2218, 2023, doi: 10.32604/iasc.2023.029549.
- F.-T.-Z. Khanam, A. Al-Naji, A. G. Perera, D. Wang, and J. Chahl, “Non-invasive and non-contact automatic jaundice detection of infants based on random forest,” Comput. Methods Biomech. Biomed. Eng. Imaging Vis., vol. 11, no. 6, pp. 2516–2529, 2023, doi: 10.1080/21681163.2023.2244601.