hexcolors

Color combinations / Gray and Gold

Gray and Gold color combination

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

Do they work together?

Not for text. The ratio is 2.82: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

Gold text on gray

The quick brown fox jumps over the lazy dog.

Gray text on gold

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

--gray: #808080;
--gold: #ffd700;

More with gray

Common questions

Do gray and gold go well together?

One of the two is a neutral, which makes this an easy, safe pairing. Not for text. The ratio is 2.82:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.

What are the hex codes for gray and gold?

Gray is #808080 and Gold is #FFD700.

Can I use gray text on gold?

Not for text. The ratio is 2.82:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.