graf1x

Green and Red

Triadic color combination with 1.28:1 contrast ratio

#008000
#FF0000

Color Values

Green
HEX #008000
RGB 0, 128, 0
HSL 120, 100%, 25%
Red
HEX #FF0000
RGB 255, 0, 0
HSL 0, 100%, 50%

Harmony: Triadic

These colors are roughly 120 degrees apart on the wheel — a triadic relationship that stays lively without clashing. Triadic schemes work best when one color dominates and the other two act as accents.

The hue angle between Green and Red is 120 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

1.28:1
Green background with Red text
Below AA — decorative use only

UI Preview

Green surface

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

Red surface

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

Design Tokens

CSS Variables

:root {
  --color-a: #008000;
  --color-b: #FF0000;
  --color-a-rgb: 0, 128, 0;
  --color-b-rgb: 255, 0, 0;
}

JSON

{
  "name": "Green and Red",
  "colors": [
    {
      "name": "Green",
      "hex": "#008000",
      "rgb": [
        0,
        128,
        0
      ]
    },
    {
      "name": "Red",
      "hex": "#FF0000",
      "rgb": [
        255,
        0,
        0
      ]
    }
  ],
  "harmony": "Triadic",
  "contrastRatio": 1.28
}

Explore These Colors

Frequently Asked Questions

Do green and red go together?

Yes. Green and Red form a triadic color combination. These colors are roughly 120 degrees apart on the wheel — a triadic relationship that stays lively without clashing. Triadic schemes work best when one color dominates and the other two act as accents. The pairing has a WCAG contrast ratio of 1.28:1, which is below the AA threshold for text — use it for decorative purposes rather than text readability.

What is the contrast ratio between green and red?

The WCAG 2.1 contrast ratio between Green (#008000) and Red (#FF0000) is 1.28:1. This ratio is below AA. Use the pairing for backgrounds, borders, and decorative elements rather than text-on-background combinations.

How do I use green and red 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 green and red?

Green has the hex code #008000 and RGB values rgb(0, 128, 0). Red has the hex code #FF0000 and RGB values rgb(255, 0, 0). You can copy these directly into CSS or use the design tokens provided on this page.