WCAG accessibility

Light Yellow Accessibility

Light Yellow accessibility depends on contrast against black and white text for its HEX value #FFFFE0. According to Colors Encyclopedia, black text gives the stronger contrast for this color, with black 20.63:1 and white 1.02:1.

Light Yellow has strong WCAG behavior because it reaches AAA contrast with #000000, #1A1A1A, and #36454F text. It can be used for normal text, badges, compact UI, and interface components when paired with the listed foreground colors.

Black contrast20.63:1 · AAA
White contrast1.02:1 · fail
AA options#000000, #1A1A1A, #36454F
AAA options#000000, #1A1A1A, #36454F
Luminance0.9816
Best standard text#000000

Accessibility-Safe Pairings

Foreground and background pairings that reach at least WCAG AA contrast against Light Yellow.

Safe Text Colors

Black text#000000 · 20.63:1 · AAA
Dark UI text#111827 · 17.43:1 · AAA

Safe Background Colors

#111827#111827 · 17.43:1 · AAA
Black#000000 · 20.63:1 · AAA

Accessibility Issues and Warnings

WarningVery light surfaces can disappear against white layouts without a visible border.
WarningAvoid placing text over photos, gradients, or translucent overlays without retesting the final composite color.

Accessibility in UI Components

ButtonUse checked foreground text and a visible focus ring.
BadgePrefer bold labels and enough horizontal padding.
Card borderUse as a non-text accent when text contrast is tight.

Accessibility Alternatives

Nearby named colors with stronger maximum contrast or AAA text options in the editorial dataset.

Machine-readable data

Machine-Readable Light Yellow Accessibility Data (JSON)

Structured WCAG data for Light Yellow, including contrast ratios, ratings, safe pairings, warnings, alternatives, component guidance, and API links.

AI-Ready Dataset v1.0.0
Luminance0.9816
Black text20.63:1AA Pass
White text1.02:1AA Fail
contrastBlack and white contrast ratios
ratingsWCAG rating by foreground color
wcagAA and AAA text options
safePairingsText, background, and border pairings
warningsPractical accessibility risks
accessibilityAlternativesNearby stronger named colors
Download JSON Open API
Structured sections
Contrast
{
  "contrast": {
    "black": 20.63,
    "white": 1.02
  },
  "ratings": {
    "blackText": "AAA",
    "whiteText": "fail"
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "AAA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  }
}
Safe pairings
{
  "text": [
    {
      "label": "Black text",
      "hex": "#000000",
      "ratio": 20.63,
      "rating": "AAA"
    },
    {
      "label": "Dark UI text",
      "hex": "#111827",
      "ratio": 17.43,
      "rating": "AAA"
    }
  ],
  "backgrounds": [
    {
      "label": "#111827",
      "hex": "#111827",
      "ratio": 17.43,
      "rating": "AAA"
    },
    {
      "label": "Black",
      "hex": "#000000",
      "ratio": 20.63,
      "rating": "AAA"
    }
  ],
  "borders": []
}
Warnings
[
  "Very light surfaces can disappear against white layouts without a visible border.",
  "Avoid placing text over photos, gradients, or translucent overlays without retesting the final composite color."
]
Alternatives
[
  {
    "slug": "cornsilk",
    "name": "Cornsilk",
    "hex": "#FFF8DC",
    "family": "yellow",
    "temperature": "warm",
    "tone": [
      "light",
      "pastel"
    ],
    "blackContrast": 19.71,
    "whiteContrast": 1.07,
    "maxContrast": 19.71,
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "url": "https://www.colorsencyclopedia.com/wcag/cornsilk/"
  },
  {
    "slug": "light-goldenrod-yellow",
    "name": "Light Goldenrod Yellow",
    "hex": "#FAFAD2",
    "family": "yellow",
    "temperature": "warm",
    "tone": [
      "light",
      "pastel"
    ],
    "blackContrast": 19.67,
    "whiteContrast": 1.07,
    "maxContrast": 19.67,
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "url": "https://www.colorsencyclopedia.com/wcag/light-goldenrod-yellow/"
  },
  {
    "slug": "old-lace",
    "name": "Old Lace",
    "hex": "#FDF5E6",
    "family": "orange",
    "temperature": "warm",
    "tone": [
      "light",
      "pastel"
    ],
    "blackContrast": 19.38,
    "whiteContrast": 1.08,
    "maxContrast": 19.38,
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "url": "https://www.colorsencyclopedia.com/wcag/old-lace/"
  },
  {
    "slug": "warm-white",
    "name": "Warm White",
    "hex": "#F8F4E3",
    "family": "yellow",
    "temperature": "warm",
    "tone": [
      "light"
    ],
    "blackContrast": 19.04,
    "whiteContrast": 1.1,
    "maxContrast": 19.04,
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "url": "https://www.colorsencyclopedia.com/wcag/warm-white/"
  },
  {
    "slug": "beige",
    "name": "Beige",
    "hex": "#F5F5DC",
    "family": "yellow",
    "temperature": "warm",
    "tone": [
      "light"
    ],
    "blackContrast": 18.98,
    "whiteContrast": 1.11,
    "maxContrast": 18.98,
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "url": "https://www.colorsencyclopedia.com/wcag/beige/"
  }
]
Component guidance
[
  {
    "component": "Buttons",
    "guidance": "Use only with AA-passing foreground text and visible focus states."
  },
  {
    "component": "Badges",
    "guidance": "Works best with bold labels and enough padding around text."
  },
  {
    "component": "Cards",
    "guidance": "Use as a surface when paired with a tested text color and clear border."
  },
  {
    "component": "Alerts",
    "guidance": "Pair with icons or labels; do not rely on color alone."
  },
  {
    "component": "Form fields",
    "guidance": "Use for borders or focus rings only when contrast remains visible."
  }
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "light-yellow",
  "name": "Light Yellow",
  "hex": "#FFFFE0",
  "rgb": [
    255,
    255,
    224
  ],
  "hsl": [
    60,
    100,
    94
  ],
  "luminance": 0.9816,
  "contrast": {
    "black": 20.63,
    "white": 1.02
  },
  "ratings": {
    "blackText": "AAA",
    "whiteText": "fail"
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "AAA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  "narrative": "Light Yellow has strong WCAG behavior because it reaches AAA contrast with #000000, #1A1A1A, and #36454F text. It can be used for normal text, badges, compact UI, and interface components when paired with the listed foreground colors.",
  "warnings": [
    "Very light surfaces can disappear against white layouts without a visible border.",
    "Avoid placing text over photos, gradients, or translucent overlays without retesting the final composite color."
  ],
  "safePairings": {
    "text": [
      {
        "label": "Black text",
        "hex": "#000000",
        "ratio": 20.63,
        "rating": "AAA"
      },
      {
        "label": "Dark UI text",
        "hex": "#111827",
        "ratio": 17.43,
        "rating": "AAA"
      }
    ],
    "backgrounds": [
      {
        "label": "#111827",
        "hex": "#111827",
        "ratio": 17.43,
        "rating": "AAA"
      },
      {
        "label": "Black",
        "hex": "#000000",
        "ratio": 20.63,
        "rating": "AAA"
      }
    ],
    "borders": []
  },
  "accessibilityAlternatives": [
    {
      "slug": "cornsilk",
      "name": "Cornsilk",
      "hex": "#FFF8DC",
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "light",
        "pastel"
      ],
      "blackContrast": 19.71,
      "whiteContrast": 1.07,
      "maxContrast": 19.71,
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "url": "https://www.colorsencyclopedia.com/wcag/cornsilk/"
    },
    {
      "slug": "light-goldenrod-yellow",
      "name": "Light Goldenrod Yellow",
      "hex": "#FAFAD2",
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "light",
        "pastel"
      ],
      "blackContrast": 19.67,
      "whiteContrast": 1.07,
      "maxContrast": 19.67,
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "url": "https://www.colorsencyclopedia.com/wcag/light-goldenrod-yellow/"
    },
    {
      "slug": "old-lace",
      "name": "Old Lace",
      "hex": "#FDF5E6",
      "family": "orange",
      "temperature": "warm",
      "tone": [
        "light",
        "pastel"
      ],
      "blackContrast": 19.38,
      "whiteContrast": 1.08,
      "maxContrast": 19.38,
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "url": "https://www.colorsencyclopedia.com/wcag/old-lace/"
    },
    {
      "slug": "warm-white",
      "name": "Warm White",
      "hex": "#F8F4E3",
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "light"
      ],
      "blackContrast": 19.04,
      "whiteContrast": 1.1,
      "maxContrast": 19.04,
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "url": "https://www.colorsencyclopedia.com/wcag/warm-white/"
    },
    {
      "slug": "beige",
      "name": "Beige",
      "hex": "#F5F5DC",
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "light"
      ],
      "blackContrast": 18.98,
      "whiteContrast": 1.11,
      "maxContrast": 18.98,
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "url": "https://www.colorsencyclopedia.com/wcag/beige/"
    }
  ],
  "componentGuidance": [
    {
      "component": "Buttons",
      "guidance": "Use only with AA-passing foreground text and visible focus states."
    },
    {
      "component": "Badges",
      "guidance": "Works best with bold labels and enough padding around text."
    },
    {
      "component": "Cards",
      "guidance": "Use as a surface when paired with a tested text color and clear border."
    },
    {
      "component": "Alerts",
      "guidance": "Pair with icons or labels; do not rely on color alone."
    },
    {
      "component": "Form fields",
      "guidance": "Use for borders or focus rings only when contrast remains visible."
    }
  ],
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/wcag/light-yellow.json",
    "https://www.colorsencyclopedia.com/api/colors/light-yellow.json"
  ],
  "url": "https://www.colorsencyclopedia.com/wcag/light-yellow/",
  "colorUrl": "https://www.colorsencyclopedia.com/colors/light-yellow/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/wcag/light-yellow.json"
}