hexcolors

Color combinations / Green and White

Green and White color combination

One of the two is a neutral, which makes this an easy, safe pairing.

Do they work together?

Yes. Green and White have a contrast ratio of 5.14:1, which passes WCAG AA for body text.

Contrast is the same in both directions. Check other pairs in the contrast checker.

See it in use

White text on green

The quick brown fox jumps over the lazy dog.

Green text on white

The quick brown fox jumps over the lazy dog.

Copy the colors

--green: #008000;
--white: #ffffff;

More with green

Common questions

Do green and white go well together?

One of the two is a neutral, which makes this an easy, safe pairing. Yes. Green and White have a contrast ratio of 5.14:1, which passes WCAG AA for body text.

What are the hex codes for green and white?

Green is #008000 and White is #FFFFFF.

Can I use green text on white?

Yes. Green and White have a contrast ratio of 5.14:1, which passes WCAG AA for body text.