The quick brown fox jumps over the lazy dog
Contrast Ratio
1.81
to 1
AA NormalFAIL
AAA NormalFAIL
AA LargeFAIL
AAA LargeFAIL
Color Details
Text Color
White
#fffffftext-white
Background Color
Cyan 400
#22d3eebg-cyan-400
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-white -->
<!-- Background: bg-cyan-400 -->
<div class="bg-cyan-400 p-6 rounded-lg">
<p class="text-white">
Your accessible text here
</p>
</div>Plain CSScss
/* Text: #ffffff on Background: #22d3ee */
.accessible-container {
background-color: #22d3ee;
color: #ffffff;
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-white13.40:1
bg-cyan-950
Aa
text-white9.11:1
bg-cyan-900
Aa
text-white7.27:1
bg-cyan-800
Frequently Asked Questions
Is white text on cyan 400 accessible?▼
No, this combination fails WCAG AA with a contrast ratio of only 1.81:1, below the 4.5:1 minimum for normal text.
What is the contrast ratio of white on cyan 400?▼
The contrast ratio is 1.81: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 white on cyan 400 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 text color 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