Color combinations / Green and Gray
Green and Gray color combination
One of the two is a neutral, which makes this an easy, safe pairing.
Do they work together?
Not for text. The ratio is 1.30:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.
Contrast is the same in both directions. Check other pairs in the contrast checker.
See it in use
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
Make the pair accessible
Keep the hue and adjust lightness until body text passes 4.5:1.
Copy the colors
--green: #008000; --gray: #808080;
More with green
Common questions
Do green and gray go well together?
One of the two is a neutral, which makes this an easy, safe pairing. Not for text. The ratio is 1.30:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.
What are the hex codes for green and gray?
Green is #008000 and Gray is #808080.
Can I use green text on gray?
Not for text. The ratio is 1.30:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.