graf1x

DarkGreen and White

Tonal Accent color combination with 7.44:1 contrast ratio

#006400
#FFFFFF

Color Values

DarkGreen
HEX #006400
RGB 0, 100, 0
HSL 120, 100%, 20%
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 DarkGreen 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

7.44:1
DarkGreen background with White text
AAA all sizes

UI Preview

DarkGreen surface

Sample text on a darkgreen 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: #006400;
  --color-b: #FFFFFF;
  --color-a-rgb: 0, 100, 0;
  --color-b-rgb: 255, 255, 255;
}

JSON

{
  "name": "DarkGreen and White",
  "colors": [
    {
      "name": "DarkGreen",
      "hex": "#006400",
      "rgb": [
        0,
        100,
        0
      ]
    },
    {
      "name": "White",
      "hex": "#FFFFFF",
      "rgb": [
        255,
        255,
        255
      ]
    }
  ],
  "harmony": "Tonal Accent",
  "contrastRatio": 7.44
}

Explore These Colors

Frequently Asked Questions

Do darkgreen and white go together?

Yes. DarkGreen 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 7.44:1, which passes AA for large text and UI components.

What is the contrast ratio between darkgreen and white?

The WCAG 2.1 contrast ratio between DarkGreen (#006400) and White (#FFFFFF) is 7.44:1. This passes AAA for all text sizes.

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

DarkGreen has the hex code #006400 and RGB values rgb(0, 100, 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.