graf1x

Lavender and Yellow

Split-Complementary color combination with 3.14:1 contrast ratio

#B56EDC
#FFFF00

Color Values

Lavender
HEX #B56EDC
RGB 181, 110, 220
HSL 279, 61%, 65%
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 Lavender and Yellow is 141 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

3.14:1
Lavender background with Yellow text
AA large text only

UI Preview

Lavender surface

Sample text on a lavender 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: #B56EDC;
  --color-b: #FFFF00;
  --color-a-rgb: 181, 110, 220;
  --color-b-rgb: 255, 255, 0;
}

JSON

{
  "name": "Lavender and Yellow",
  "colors": [
    {
      "name": "Lavender",
      "hex": "#B56EDC",
      "rgb": [
        181,
        110,
        220
      ]
    },
    {
      "name": "Yellow",
      "hex": "#FFFF00",
      "rgb": [
        255,
        255,
        0
      ]
    }
  ],
  "harmony": "Split-Complementary",
  "contrastRatio": 3.14
}

Explore These Colors

Frequently Asked Questions

Do lavender and yellow go together?

Yes. Lavender 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 3.14:1, which passes AA for large text but not for body text.

What is the contrast ratio between lavender and yellow?

The WCAG 2.1 contrast ratio between Lavender (#B56EDC) and Yellow (#FFFF00) is 3.14:1. This passes AA for large text (18pt+ or 14pt+ bold) but not for normal-sized body text.

How do I use lavender 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 lavender and yellow?

Lavender has the hex code #B56EDC and RGB values rgb(181, 110, 220). 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.