The quick brown fox jumps over the lazy dog
Contrast Ratio
17.85
to 1
AA NormalPASS
AAA NormalPASS
AA LargePASS
AAA LargePASS
Color Details
Text Color
Slate 900
#0f172atext-slate-900
Background Color
White
#ffffffbg-white
WCAG Compliance
| Criterion | Min Ratio | Result |
|---|---|---|
| Normal Text AA | 4.5:1 | PASS |
| Normal Text AAA | 7:1 | PASS |
| Large Text AA | 3:1 | PASS |
| Large Text AAA | 4.5:1 | PASS |
Code Examples
Tailwind CSShtml
<!-- Text color: text-slate-900 -->
<!-- Background: bg-white -->
<div class="bg-white p-6 rounded-lg">
<p class="text-slate-900">
Your accessible text here
</p>
</div>Plain CSScss
/* Text: #0f172a on Background: #ffffff */
.accessible-container {
background-color: #ffffff;
color: #0f172a;
padding: 1.5rem;
border-radius: 0.5rem;
}Use Cases
- Heading text on light cards
- Sidebar navigation labels
- Dashboard metric values
Accessible Alternatives
Aa
text-slate-5004.76:1
bg-white
Aa
text-slate-6007.58:1
bg-white
Aa
text-black21.00:1
bg-white
Frequently Asked Questions
Is slate 900 text on white accessible?▼
Yes, this combination passes WCAG AA with a contrast ratio of 17.85:1, meeting the minimum 4.5:1 requirement for normal text.
What is the contrast ratio of slate 900 on white?▼
The contrast ratio is 17.85: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 17.85: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