Designing and developing an internal Figma plugin to generate the grade point of a given color and suggest a shade of the color for required grade point.
After conducting research on possible grading systems for colors, Manyu Varma and I worked together to conclude on the grade values proposed by USWDS that not just graded colors and their shades but also had accessibility embedded into the system with a concept of ‘magic numbers’. To know more about this system read here.
Gojek has a total of 4 color theme libraries built on the same foundational principles and token structure. When these themes were first created, their color values were decided based on the brand guidelines and didn’t quite minimum contrast compliance for functional tokens like text.
Once were sure that USWDS’s grade point system that would fit our use case, we needed a quicker method to find the grade of a color.