hexcolors

Color combinations / Yellow and Maroon

Yellow and Maroon color combination

These colors are a moderate distance apart on the wheel, giving a balanced but distinct pairing.

Do they work together?

Yes. Yellow and Maroon have a contrast ratio of 10.20: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

Maroon text on yellow

The quick brown fox jumps over the lazy dog.

Yellow text on maroon

The quick brown fox jumps over the lazy dog.

Copy the colors

--yellow: #ffff00;
--maroon: #800000;

More with yellow

Common questions

Do yellow and maroon go well together?

These colors are a moderate distance apart on the wheel, giving a balanced but distinct pairing. Yes. Yellow and Maroon have a contrast ratio of 10.20:1, which passes WCAG AA for body text.

What are the hex codes for yellow and maroon?

Yellow is #FFFF00 and Maroon is #800000.

Can I use yellow text on maroon?

Yes. Yellow and Maroon have a contrast ratio of 10.20:1, which passes WCAG AA for body text.