graf1x

Green and White

Tonal Accent color combination with 5.14:1 contrast ratio

#008000
#FFFFFF

Color Values

Green
HEX #008000
RGB 0, 128, 0
HSL 120, 100%, 25%
White
HEX #FFFFFF
RGB 255, 255, 255
HSL 0, 0%, 100%

Harmony: Tonal Accent

One color is neutral and the other carries the chroma, which is a reliable formula for balanced design. The neutral gives the eye somewhere to rest while the chromatic color provides the focal point.

The hue angle between Green and White is 120 degrees (though one or both colors are achromatic, so hue angle is less relevant than lightness contrast). You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

5.14:1
Green background with White text
AA normal text, AAA large text

UI Preview

Green surface

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

White surface

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

Design Tokens

CSS Variables

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

JSON

{
  "name": "Green and White",
  "colors": [
    {
      "name": "Green",
      "hex": "#008000",
      "rgb": [
        0,
        128,
        0
      ]
    },
    {
      "name": "White",
      "hex": "#FFFFFF",
      "rgb": [
        255,
        255,
        255
      ]
    }
  ],
  "harmony": "Tonal Accent",
  "contrastRatio": 5.14
}

Explore These Colors

Frequently Asked Questions

Do green and white go together?

Yes. Green and White form a tonal accent color combination. One color is neutral and the other carries the chroma, which is a reliable formula for balanced design. The neutral gives the eye somewhere to rest while the chromatic color provides the focal point. The pairing has a WCAG contrast ratio of 5.14:1, which passes AA for large text and UI components.

What is the contrast ratio between green and white?

The WCAG 2.1 contrast ratio between Green (#008000) and White (#FFFFFF) is 5.14:1. This passes AA for normal text and AAA for large text.

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

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