graf1x

Green and Olive

Contrasting color combination with 1.23:1 contrast ratio

#008000
#808010

Color Values

Green
HEX #008000
RGB 0, 128, 0
HSL 120, 100%, 25%
Olive
HEX #808010
RGB 128, 128, 16
HSL 60, 78%, 28%

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 Green and Olive is 60 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

1.23:1
Green background with Olive text
Below AA — decorative use only

UI Preview

Green surface

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

Olive surface

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

Design Tokens

CSS Variables

:root {
  --color-a: #008000;
  --color-b: #808010;
  --color-a-rgb: 0, 128, 0;
  --color-b-rgb: 128, 128, 16;
}

JSON

{
  "name": "Green and Olive",
  "colors": [
    {
      "name": "Green",
      "hex": "#008000",
      "rgb": [
        0,
        128,
        0
      ]
    },
    {
      "name": "Olive",
      "hex": "#808010",
      "rgb": [
        128,
        128,
        16
      ]
    }
  ],
  "harmony": "Contrasting",
  "contrastRatio": 1.23
}

Explore These Colors

Frequently Asked Questions

Do green and olive go together?

Yes. Green and Olive 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 1.23: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 olive?

The WCAG 2.1 contrast ratio between Green (#008000) and Olive (#808010) is 1.23: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 olive 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 olive?

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