Color combinations / Yellow and Navy
Yellow and Navy color combination
These colors sit nearly opposite on the color wheel, so they are complementary and create strong contrast.
Do they work together?
Yes. Yellow and Navy have a contrast ratio of 14.91: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
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
Copy the colors
--yellow: #ffff00; --navy: #000080;
More with yellow
Common questions
Do yellow and navy go well together?
These colors sit nearly opposite on the color wheel, so they are complementary and create strong contrast. Yes. Yellow and Navy have a contrast ratio of 14.91:1, which passes WCAG AA for body text.
What are the hex codes for yellow and navy?
Yellow is #FFFF00 and Navy is #000080.
Can I use yellow text on navy?
Yes. Yellow and Navy have a contrast ratio of 14.91:1, which passes WCAG AA for body text.