Contrast Check: #28A745 on #FFFFFF
Bootstrap success green (#28A745) on White (#FFFFFF) — 3.13:1, passes AA large.
At a glance
- Contrast ratio
- 3.13:1
- WCAG AA (normal text)
- Fail
- WCAG AA (large text)
- Pass
- WCAG AAA (normal text)
- Fail
- UI components / non-text
- Pass
Bootstrap success green text on a white background is one of the most frequently checked combinations in web design. The measured WCAG 2.1 contrast ratio is 3.13:1. It passes WCAG AA only for large text (18pt+ or 14pt+ bold), not for body text. Below AA for body text — Bootstrap’s success green is meant for backgrounds and large UI surfaces, not text.
Frequently asked questions
Is #28A745 on #FFFFFF accessible?
Where is this combination commonly used?
How is this ratio calculated?
(L1 + 0.05) / (L2 + 0.05) where L1 and L2 are the relative luminances of the lighter and darker colors. Each channel is gamma-corrected (linearized) before applying coefficients 0.2126·R + 0.7152·G + 0.0722·B. The two formulas weight green most because the human eye is most sensitive to green wavelengths.What if I need a higher ratio than 3.13:1?
Related Tools
Color Palette
Extract colors from images or generate harmonious palettes.
Color Gradient Test
Test your monitor for color banding and 8-bit vs 10-bit depth with smooth gradients across grayscale, red, green, blue, and hue channels.
CSS Gradient
Visual CSS background generator & code.
Logo Maker
Design logos with a drag-and-drop canvas editor. Add text, icons, and shapes — export PNG, SVG, or ZIP.
CSS Cheatsheet
Quick reference for CSS selectors, Flexbox, Grid, typography, animations, and modern CSS. Search and copy instantly.