The quick brown fox jumps over the lazy dog
Contrast Ratio
8.07
to 1
AA NormalPASS
AAA NormalPASS
AA LargePASS
AAA LargePASS
Color Details
Text Color
Yellow 900
#713f12text-yellow-900
Background Color
Yellow 100
#fef9c3bg-yellow-100
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-yellow-900 -->
<!-- Background: bg-yellow-100 -->
<div class="bg-yellow-100 p-6 rounded-lg">
<p class="text-yellow-900">
Your accessible text here
</p>
</div>Plain CSScss
/* Text: #713f12 on Background: #fef9c3 */
.accessible-container {
background-color: #fef9c3;
color: #713f12;
padding: 1.5rem;
border-radius: 0.5rem;
}Use Cases
- Heading text on light cards
- Sidebar navigation labels
Accessible Alternatives
Aa
text-yellow-7004.58:1
bg-yellow-100
Aa
text-yellow-8006.38:1
bg-yellow-100
Aa
text-yellow-9004.52:1
bg-yellow-500
Frequently Asked Questions
Is yellow 900 text on yellow 100 accessible?▼
Yes, this combination passes WCAG AA with a contrast ratio of 8.07:1, meeting the minimum 4.5:1 requirement for normal text.
What is the contrast ratio of yellow 900 on yellow 100?▼
The contrast ratio is 8.07: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 8.07: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