The quick brown fox jumps over the lazy dog
Contrast Ratio
1.74
to 1
AA NormalFAIL
AAA NormalFAIL
AA LargeFAIL
AAA LargeFAIL
Color Details
Text Color
Green 400
#4ade80text-green-400
Background Color
White
#ffffffbg-white
WCAG Compliance
| Criterion | Min Ratio | Result |
|---|---|---|
| Normal Text AA | 4.5:1 | FAIL |
| Normal Text AAA | 7:1 | FAIL |
| Large Text AA | 3:1 | FAIL |
| Large Text AAA | 4.5:1 | FAIL |
Code Examples
Tailwind CSShtml
<!-- Text color: text-green-400 -->
<!-- Background: bg-white -->
<div class="bg-white p-6 rounded-lg">
<p class="text-green-400">
Your accessible text here
</p>
</div>Plain CSScss
/* Text: #4ade80 on Background: #ffffff */
.accessible-container {
background-color: #ffffff;
color: #4ade80;
padding: 1.5rem;
border-radius: 0.5rem;
}Use Cases
- Decorative text only (not for body copy)
- Large display headings (36px+) if AA Large passes
- Placeholder or watermark text
Accessible Alternatives
Aa
text-green-7005.02:1
bg-white
Aa
text-green-8007.13:1
bg-white
Aa
text-black21.00:1
bg-white
Frequently Asked Questions
Is green 400 text on white accessible?▼
No, this combination fails WCAG AA with a contrast ratio of only 1.74:1, below the 4.5:1 minimum for normal text.
What is the contrast ratio of green 400 on white?▼
The contrast ratio is 1.74: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.
How can I make green 400 on white accessible?▼
To achieve WCAG AA compliance, try using a darker text shade or a lighter background shade. For example, increasing the contrast by using a darker shade of green or adjusting the background.
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