コンテンツへスキップ

WCAG 2.2 カラーコントラスト適合性チェッカー & 配色修正

W3C WCAG 2.2 アクセシビリティ基準に基づくコントラスト比の算出と、AA/AAA適合に向けた sRGB 最適化カラーの自動提案。

コントラストチェッカーの準備が完了しました。カラーを指定してください。
WCAG 2.2 AA / AAA

WCAG 2.2 コントラストチェッカー

カラー設定

定番のアクセシブル配色プリセット
コントラスト比高度なコントラスト (AAA基準合格)
14.63:1

W3C WCAG 2.2 公式算式 (L1 + 0.05) / (L2 + 0.05) に基づく相対輝度比。

通常テキスト✓ AA
大型テキスト✓ AA
非テキスト UI 要素✓ AA

WCAG 2.2 適合判定結果

通常テキスト

16px / 通常

本文や入力欄 (18pt / 24px 未満、または 14pt / 18.66px 太字未満)

レベル AA (>= 4.5:1)合格
レベル AAA (>= 7.0:1)合格

大型テキスト

>= 24px / 18.66px 太字

見出しや大型文字 (18pt / 24px 以上、または 14pt / 18.66px 太字以上)

レベル AA (>= 3.0:1)合格
レベル AAA (>= 4.5:1)合格

非テキスト UI 要素

SC 1.4.11

フォームの枠線、ボタン境界線、グラフィカルアイコン (WCAG 2.2 SC 1.4.11)

レベル AA (>= 3.0:1)合格
※ WCAG SC 1.4.11 は非テキストコントラストをレベル AA のみで定義しています(AAA 基準なし)。

リアルタイム表示プレビュー

通常本文タイポグラフィ (16px / Regular)

十分なコントラスト比を確保することは、アクセシブルなウェブデザインの基礎です。照明環境や視覚特性にかかわらず、すべてのユーザーに確実な可読性を提供します。

大型見出しタイポグラフィ (24px / Bold)

誰にでも見やすく明瞭なタイポグラフィデザイン

インタラクティブ UI コンポーネント (WCAG SC 1.4.11)
状態バッジ

スマート配色修正・改善提案アシスタント

合格基準に届かない場合、背景色または文字色を固定したまま、sRGB色域内で元の色調差(ΔE)を最小限に抑えながら目標比率をクリアする最適な色を自動算出します。

固定する対象
目標とする適合比率

現在の組み合わせは、すでに選択された目標コントラスト比を満たしています。 (14.63:1 >= 4.5:1)

How WCAG 2.2 Color Contrast Works

Digital accessibility depends fundamentally on sufficient perceptual contrast between text, interface elements, and their background surfaces. The W3C Web Content Accessibility Guidelines (WCAG 2.2) establish clear mathematical criteria to ensure digital interfaces remain completely legible and operable for people with moderately low vision, color vision deficiencies (protanopia, deuteranopia, tritanopia), aging eyes, and under adverse ambient lighting conditions.

The W3C Relative Luminance & Contrast Formula

Contrast in WCAG is calculated using the relative luminance of colors in the standard sRGB color space. The relative luminance (L) of an sRGB color is determined by linearizing each 8-bit color channel (R, G, B) and weighting them according to human spectral eye sensitivity:

L = 0.2126 * R_linear + 0.7152 * G_linear + 0.0722 * B_linear
Where C_linear = (C / 255 <= 0.04045) ? (C / 255) / 12.92 : ((C / 255 + 0.055) / 1.055)^2.4

The contrast ratio between two colors is then defined as:

Contrast Ratio = (L1 + 0.05) / (L2 + 0.05)

Where L1 is the relative luminance of the lighter color and L2 is the relative luminance of the darker color. The addition of the 0.05 offset represents ambient flare compensation. This yields a ratio ranging from 1.0:1 (identical colors) up to 21.0:1 (pure black on pure white).

WCAG 2.2 Success Criteria & Thresholds

  • Normal Text (WCAG SC 1.4.3 & 1.4.6): Body text, form field labels, and descriptions require at least 4.5:1 for Level AA and 7.0:1 for enhanced Level AAA.
  • Large Text (WCAG SC 1.4.3 & 1.4.6): Text that is at least 18pt (24px) regular weight or 14pt (18.66px) bold requires at least 3.0:1 for Level AA and 4.5:1 for Level AAA.
  • Graphical Objects & User Interface Components (WCAG SC 1.4.11): Visual information required to identify user interface components (such as form field borders, button outlines, and active state indicators) and graphical objects (such as standalone icons and chart elements) requires at least 3.0:1. Note that the W3C specification defines non-text contrast at Level AA only, without an AAA requirement.

Smart In-Gamut Color Remediation

When a selected color pairing fails your target contrast ratio, our remediation optimizer allows you to hold either the foreground or background color fixed. The engine searches candidate colors along the sRGB lightness dimension to find the exact counterpart that satisfies the selected target ratio (3.0:1, 4.5:1, or 7.0:1) while strictly minimizing the Euclidean color distance (ΔE) to your original design.

Frequently Asked Questions

WCAG 2.2 のコントラスト比はどのように算出されますか?
sRGB色空間において、より明るい色の相対輝度 L1 とより暗い色の相対輝度 L2 から、W3C公式の計算式 (L1 + 0.05) / (L2 + 0.05) を用いて算出されます。最小 1:1 から最大 21:1(黒対白)の範囲となります。
WCAG のレベル AA と AAA の違いは何ですか?
レベル AA は国際的な法規制や調達基準で義務付けられている標準的なアクセシビリティ水準です。レベル AAA は強度な弱視や色覚異常を持つ利用者に配慮した高コントラスト基準(通常文字で 7.0:1 以上)を定めています。
非テキスト UI 要素にレベル AAA は設定されていますか?
いいえ。WCAG 2.2 達成基準 1.4.11(非テキストのコントラスト)はレベル AA(3.0:1 以上)のみが規定されており、UI要素やアイコンに対してレベル AAA の要件は存在しません。
スマート配色修正アシスタントの仕組みは?
指定された固定色を維持し、sRGB 色域内で明度軸に沿って候補を探索します。目標コントラストを満たしつつ、元のカラーとのユークリッド色差(ΔE)が最小になる色を厳密に特定します。