graf1x

Indigo and Yellow

Split-Complementary color combination with 13.04:1 contrast ratio

#380282
#FFFF00

Color Values

Indigo
HEX #380282
RGB 56, 2, 130
HSL 265, 97%, 26%
Yellow
HEX #FFFF00
RGB 255, 255, 0
HSL 60, 100%, 50%

Harmony: Split-Complementary

This is a split-complementary pairing: one color paired with the two neighbors of its complement. It offers most of the contrast of a complementary scheme with less tension, making it easier to balance.

The hue angle between Indigo and Yellow is 155 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

13.04:1
Indigo background with Yellow text
AAA all sizes

UI Preview

Indigo surface

Sample text on a indigo background demonstrates readability and visual hierarchy.

Yellow surface

Sample text on a yellow background demonstrates readability and visual hierarchy.

Design Tokens

CSS Variables

:root {
  --color-a: #380282;
  --color-b: #FFFF00;
  --color-a-rgb: 56, 2, 130;
  --color-b-rgb: 255, 255, 0;
}

JSON

{
  "name": "Indigo and Yellow",
  "colors": [
    {
      "name": "Indigo",
      "hex": "#380282",
      "rgb": [
        56,
        2,
        130
      ]
    },
    {
      "name": "Yellow",
      "hex": "#FFFF00",
      "rgb": [
        255,
        255,
        0
      ]
    }
  ],
  "harmony": "Split-Complementary",
  "contrastRatio": 13.04
}

Explore These Colors

Frequently Asked Questions

Do indigo and yellow go together?

Yes. Indigo and Yellow form a split-complementary color combination. This is a split-complementary pairing: one color paired with the two neighbors of its complement. It offers most of the contrast of a complementary scheme with less tension, making it easier to balance. The pairing has a WCAG contrast ratio of 13.04:1, which passes AA for large text and UI components.

What is the contrast ratio between indigo and yellow?

The WCAG 2.1 contrast ratio between Indigo (#380282) and Yellow (#FFFF00) is 13.04:1. This passes AAA for all text sizes.

How do I use indigo and yellow in design?

A safe starting point is the 60/30/10 rule: give one color about 60 percent of the surface area, the other about 30 percent, and reserve the remaining 10 percent for an accent or neutral. If one color is significantly darker, use it for text or structural elements and the lighter one for backgrounds. Test the result with our Contrast Checker if text is involved.

What are the hex and RGB values for indigo and yellow?

Indigo has the hex code #380282 and RGB values rgb(56, 2, 130). Yellow has the hex code #FFFF00 and RGB values rgb(255, 255, 0). You can copy these directly into CSS or use the design tokens provided on this page.