---
title: "Discussion on \"I added a WCAG contrast checker to a random color generator - here's the math\" | Hashnode"
description: "Discussion on \"I added a WCAG contrast checker to a random color generator - here's the math\". Like a lot of frontend devs, I use random color generators for mockups and placeholder themes. And like a lot of frontend devs, I've shipped text on those colors that was basically unreadable.\nSo I bu"
url: "https://hashnode.com/posts/i-added-a-wcag-contrast-checker-to-a-random-color-generator-here-s-the-math/6ad423b0bf14dd3a07b617b4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [I added a WCAG contrast checker to a random color generator - here's the math](https://minbright.hashnode.dev/i-added-a-wcag-contrast-checker-to-a-random-color-generator-here-s-the-math?utm_source=hashnode&utm_medium=feed)

Like a lot of frontend devs, I use random color generators for mockups and placeholder themes. And like a lot of frontend devs, I've shipped text on those colors that was basically unreadable. So I bu

Oct 18 · 2 min read · minbright.hashnode.dev  
Read the article

-   [#accessibility](https://hashnode.com/tag/accessibility)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Min Bright](https://hashnode.com/@minbright)

@minbright

  
[View profile](https://hashnode.com/@minbright)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
