RGB Color Contrast Checker
Working with RGB values? Check your rgb(r,g,b) colors against WCAG contrast standards. Learn how RGB channels affect luminance and get instant AA/AAA compliance results with AI-powered suggestions.
How to Check RGB Colors
1. Grab your RGB values from a design tool (Figma, Sketch, Photoshop), browser DevTools, or an rgb(255, 255, 255) CSS declaration.
2. Use the color picker or type hex codes — the RGB breakdown appears in the results panel, showing each channel's contribution to luminance (red = 0.2126, green = 0.7152, blue = 0.0722).
3. Green has the strongest impact on luminance. If your RGB combination fails, adjusting the green channel makes the biggest difference. Our alternative suggestions find passing colors automatically.
Why RGB Matters for Color Contrast
RGB is the native color space of screens — every pixel on your display is physically composed of red, green, and blue subpixels. Design tools, operating system color pickers, and CSS all use RGB (or its hex equivalent) as the primary color format.
When calculating contrast, WCAG uses the relative luminance formula: L = 0.2126×R + 0.7152×G + 0.0722×B. Notice green's massive weight — it contributes over 71% of perceived brightness. This is why dark green text on a white background often passes AA, while dark blue at the same intensity fails.
Understanding RGB helps you debug contrast failures: a color with low green-channel values will appear dark regardless of its red or blue components, making it suitable as a foreground on light backgrounds. Use the per-channel breakdown in our results panel to see exactly how each color contributes.
Contrast Ratio
URL Scanner
Scan any site for WCAG issues
Pick a seed color and get WCAG-compliant harmonies.
This feature is not yet available. We're actively building it — if you'd like early access or have ideas to share, reach out and we'll prioritize your needs.
Contact Us