The quick brown fox jumps over the lazy dog

Contrast Ratio

14.56

to 1

AA NormalPASS
AAA NormalPASS
AA LargePASS
AAA LargePASS

Color Details

Text Color

Black

#000000text-black

Background Color

Amber 300

#fcd34dbg-amber-300

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-black -->
<!-- Background: bg-amber-300 -->
<div class="bg-amber-300 p-6 rounded-lg">
  <p class="text-black">
    Your accessible text here
  </p>
</div>
Plain CSScss
/* Text: #000000 on Background: #fcd34d */
.accessible-container {
  background-color: #fcd34d;
  color: #000000;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

Use Cases

  • Body text on light backgrounds
  • Form labels and input text
  • Article content typography

Accessible Alternatives

Aa
text-black6.59:1

bg-amber-600

Aa
text-black9.78:1

bg-amber-500

Aa
text-black12.58:1

bg-amber-400

Frequently Asked Questions

Is black text on amber 300 accessible?
Yes, this combination passes WCAG AA with a contrast ratio of 14.56:1, meeting the minimum 4.5:1 requirement for normal text.
What is the contrast ratio of black on amber 300?
The contrast ratio is 14.56: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 14.56: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