yeun / open-color

Color scheme for UI design.
https://yeun.github.io/open-color/
MIT License
5.27k stars 239 forks source link

Question: Grey 6 accessibility #120

Open erikfiala opened 2 years ago

erikfiala commented 2 years ago

Hey, I'm loving this library, but I have a little issue when it comes to accessibility.

I'm using the color Grey 6 for some 16px font-size subtexts and input placeholders, and it's a bit sad it doesn't pass the accessibility test even at this font size. I tried using Grey 7, but it looks too dark compared to Grey 9, which we use for the main body text. The contrasts between 7, 8, and 9 are very minimal.

I tried using the HSL color scheme and tweaked the L value from 56 to 46 (in Grey 6), which seemed to do the magic, but I really want to avoid using custom colors, since it defeats the purpose of using your library.

Are you planning on any tweaks when it comes to accessibility?