The quick brown fox jumps over the lazy dog

Contrast Ratio

7.13

to 1

AA NormalPASS
AAA NormalPASS
AA LargePASS
AAA LargePASS

Color Details

Text Color

Green 800

#166534text-green-800

Background Color

White

#ffffffbg-white

WCAG Compliance

CriterionMin RatioResult
Normal Text AA4.5:1PASS
Normal Text AAA7:1PASS
Large Text AA3:1PASS
Large Text AAA4.5:1PASS

Code Examples

Tailwind CSShtml
<!-- Text color: text-green-800 -->
<!-- Background: bg-white -->
<div class="bg-white p-6 rounded-lg">
  <p class="text-green-800">
    Your accessible text here
  </p>
</div>
Plain CSScss
/* Text: #166534 on Background: #ffffff */
.accessible-container {
  background-color: #ffffff;
  color: #166534;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

Use Cases

  • Heading text on light cards
  • Sidebar navigation labels
  • Dashboard metric values

Accessible Alternatives

Aa
text-green-7005.02:1

bg-white

Aa
text-green-9009.11:1

bg-white

Aa
text-black21.00:1

bg-white

Frequently Asked Questions

Is green 800 text on white accessible?
Yes, this combination passes WCAG AA with a contrast ratio of 7.13:1, meeting the minimum 4.5:1 requirement for normal text.
What is the contrast ratio of green 800 on white?
The contrast ratio is 7.13:1. WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text. WCAG AAA requires 7:1 for normal text and 4.5:1 for large text.
Does this combination meet WCAG AAA?
Yes, with a 7.13:1 contrast ratio, this combination meets the strictest WCAG AAA standard (7:1 minimum), making it excellent for maximum accessibility.

Related Color Pairs

Check Your Own Color Pair

Use our free contrast checker to test any combination of text and background colors.

Open Contrast Checker