Color combinations / Red and Yellow
Red and Yellow color combination
These colors are a moderate distance apart on the wheel, giving a balanced but distinct pairing.
Do they work together?
Only for large text. The ratio is 3.72:1, which passes AA for large text and graphics but not 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.
Make the pair accessible
Keep the hue and adjust lightness until body text passes 4.5:1.
Copy the colors
--red: #ff0000; --yellow: #ffff00;
More with red
Common questions
Do red and yellow go well together?
These colors are a moderate distance apart on the wheel, giving a balanced but distinct pairing. Only for large text. The ratio is 3.72:1, which passes AA for large text and graphics but not for body text.
What are the hex codes for red and yellow?
Red is #FF0000 and Yellow is #FFFF00.
Can I use red text on yellow?
Only for large text. The ratio is 3.72:1, which passes AA for large text and graphics but not for body text.