Darkgreen on White — Contrast Check

Darkgreen text on a white background — measured contrast ratio 7.44:1, AAA-grade.

At a glance

Foreground hex
#006400
Background hex
#FFFFFF
Contrast ratio
7.44:1
WCAG AA (normal text)
Pass
WCAG AAA (normal text)
Pass

Designers reach for darkgreen text on white constantly — for headings, links, calls to action, and brand accents. Whether the combination is *accessible* depends on the WCAG contrast ratio, which for this exact pair is 7.44:1. It clears WCAG AAA — the strictest standard. Darkgreen (#006400) is AAA-grade — the safest green for body text on white.

Frequently asked questions

Can I use darkgreen text on a white background?
If your conformance target is WCAG 2.1 AA (the typical legal and design-system bar), the answer for normal-size body text is yes — at 7.44:1, you are above the 4.5:1 threshold. For large text (18pt or 14pt-bold), the bar is 3:1, which this pair meets. AAA, the strictest tier, requires 7:1 — this pair achieves that.
Why does the named color matter?
CSS named colors map to fixed hex values defined by the CSS Color Module: darkgreen is always #006400 and white is always #FFFFFF. Browsers render them identically, so the contrast ratio is identical too. Always check the hex underneath when you’re testing — gray is not the same as darkgray, which is actually lighter than gray.
What does this fail or pass mean for color blindness?
Contrast ratio measures luminance only — it doesn’t tell you whether color-blind users can distinguish hues. Two colors with strong contrast can still be confused under protanopia or deuteranopia if they sit on the same red-green axis. The simulator above shows how this pair appears under the four common types of color vision deficiency.
How do I improve the ratio if it fails?
It already passes — no fix needed for AA body text. If you also need AAA conformance, the calculator above suggests the nearest passing colors.

Related Tools