Color combinations / Yellow and Gold
Yellow and Gold color combination
These colors are close together on the wheel, so they are analogous and feel harmonious and calm.
Do they work together?
Not for text. The ratio is 1.31: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
--yellow: #ffff00; --gold: #ffd700;
More with yellow
Common questions
Do yellow and gold go well together?
These colors are close together on the wheel, so they are analogous and feel harmonious and calm. Not for text. The ratio is 1.31:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.
What are the hex codes for yellow and gold?
Yellow is #FFFF00 and Gold is #FFD700.
Can I use yellow text on gold?
Not for text. The ratio is 1.31:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.