hexcolors

Color combinations / Orange and Yellow

Orange and Yellow 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.84: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

Yellow text on orange

The quick brown fox jumps over the lazy dog.

Orange text on yellow

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

--orange: #ffa500;
--yellow: #ffff00;

More with orange

Common questions

Do orange and yellow 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.84:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.

What are the hex codes for orange and yellow?

Orange is #FFA500 and Yellow is #FFFF00.

Can I use orange text on yellow?

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