graf1x

Tomato and Yellow

Contrasting color combination with 3.60:1 contrast ratio

#EF4026
#FFFF00

Color Values

Tomato
HEX #EF4026
RGB 239, 64, 38
HSL 8, 86%, 54%
Yellow
HEX #FFFF00
RGB 255, 255, 0
HSL 60, 100%, 50%

Harmony: Contrasting

These colors sit far enough apart on the wheel to create clear contrast without falling into a named harmony. The pairing works through difference rather than relationship, which suits designs that want variety over cohesion.

The hue angle between Tomato and Yellow is 52 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

3.60:1
Tomato background with Yellow text
AA large text only

UI Preview

Tomato surface

Sample text on a tomato background demonstrates readability and visual hierarchy.

Yellow surface

Sample text on a yellow background demonstrates readability and visual hierarchy.

Design Tokens

CSS Variables

:root {
  --color-a: #EF4026;
  --color-b: #FFFF00;
  --color-a-rgb: 239, 64, 38;
  --color-b-rgb: 255, 255, 0;
}

JSON

{
  "name": "Tomato and Yellow",
  "colors": [
    {
      "name": "Tomato",
      "hex": "#EF4026",
      "rgb": [
        239,
        64,
        38
      ]
    },
    {
      "name": "Yellow",
      "hex": "#FFFF00",
      "rgb": [
        255,
        255,
        0
      ]
    }
  ],
  "harmony": "Contrasting",
  "contrastRatio": 3.6
}

Explore These Colors

Frequently Asked Questions

Do tomato and yellow go together?

Yes. Tomato and Yellow form a contrasting color combination. These colors sit far enough apart on the wheel to create clear contrast without falling into a named harmony. The pairing works through difference rather than relationship, which suits designs that want variety over cohesion. The pairing has a WCAG contrast ratio of 3.60:1, which passes AA for large text but not for body text.

What is the contrast ratio between tomato and yellow?

The WCAG 2.1 contrast ratio between Tomato (#EF4026) and Yellow (#FFFF00) is 3.60:1. This passes AA for large text (18pt+ or 14pt+ bold) but not for normal-sized body text.

How do I use tomato and yellow in design?

A safe starting point is the 60/30/10 rule: give one color about 60 percent of the surface area, the other about 30 percent, and reserve the remaining 10 percent for an accent or neutral. If one color is significantly darker, use it for text or structural elements and the lighter one for backgrounds. Test the result with our Contrast Checker if text is involved.

What are the hex and RGB values for tomato and yellow?

Tomato has the hex code #EF4026 and RGB values rgb(239, 64, 38). Yellow has the hex code #FFFF00 and RGB values rgb(255, 255, 0). You can copy these directly into CSS or use the design tokens provided on this page.