colorcodekit

Complementary color of Pastel Yellow

The complement of Pastel Yellow (#FDFD96) is #FD96FD on the artist wheel and #9696FD on the digital RGB wheel. See contrast, color-blind checks and CSS.

Base#FDFD96
SchemeComplementary
WheelsArtist, digital, OKLCH

The colors (click to copy)

The complement of Pastel Yellow on three wheels

A complementary color sits 180° across the wheel. Pastel Yellow is a warm, light color: its lightness is 97% in OKLCH, its chroma is 0.126 and its hue sits at 109°, in the yellow family. The nearest CSS name is khaki (#F0E68C), a distance of ΔE 5.3.

WheelComplementNearest CSS namevs Pastel Yellow
Artist wheel (RYB)#FD96FDviolet1.79:1
Digital wheel (RGB)#9696FDcornflowerblue2.43:1
Perceptual wheel (OKLCH)#F5F5FFghostwhite1.01:1

The artist and digital wheels differ by ΔE 20.6 here. Use the artist answer (#FD96FD) for paint, print and traditional color theory, and the digital one (#9696FD) when you write CSS.

The perceptual wheel keeps lightness steady and turns only the hue. A vivid blue at this lightness does not fit inside a screen's colors, so its chroma drops from 0.126 to 0.013, and the OKLCH complement comes out softer than Pastel Yellow itself.

On the artist wheel the opposite of the yellow family is magenta, and the result is neither clearly warm nor cool. The partner is light (lightness 81%), so the pair differs by 16% in lightness.

Does Pastel Yellow contrast with its complement?

WheelRatioWCAG 2.2Lightness gapText on the partner
Artist wheel (RYB)1.79:1fails16%Black 9.7:1
Digital wheel (RGB)2.43:1fails26%Black 7.1:1
Perceptual wheel (OKLCH)1.01:1fails0%Black 17.1:1

At 1.79:1 the artist complement is too weak for text on Pastel Yellow. Keep the pair for large shapes, and put text in black or white on top of each.

The nearest text-safe version of the complement is #AC4AAE, which reaches 4.53:1 on Pastel Yellow. It keeps the hue and chroma and shifts only the lightness (ΔE 24.0 from the original).

Is the complement of Pastel Yellow safe for color-blind viewers?

TypeAs seenClosest pairΔE2000Result
Protanopia (no red cones) Pastel Yellow and its complement58.0clearly different
Deuteranopia (no green cones) Pastel Yellow and its complement51.1clearly different
Tritanopia (no blue cones) Pastel Yellow and its complement27.3clearly different

Even the weakest case, tritanopia, keeps the closest pair at ΔE 27.3. That is a clear difference, so this pairing holds up for most color-vision types.

Using Pastel Yellow and its complement in a layout

Pastel Yellow is light enough to be the 60% background. Give the complement (#FD96FD) to buttons and headings, and add a dark neutral for text.

surface #FDFD96, text #111412, accent #FD96FD

:root {
  --surface: #fdfd96;
  --text: #111412;
  --accent: #fd96fd;
}

Tailwind-style scale for the complement

Here is the artist complement built into a 50 to 950 scale, with the best text color on every step. Make your own from any hex with the Tailwind color generator.

#FD96FD (violet)

50100200300400500600700800900950
#FFF2FE#FFE2FE#FFC2FE#FD96FD#E46BE5#C948CB#AA2AAD#8B178E#6E1171#551356#321432

A softer option: split-complementary

If the straight complement feels harsh, use the two colors beside it instead. For Pastel Yellow on the artist wheel those are #BF96FD (2.19:1) and #FD96B8 (1.92:1). Together they keep the contrast but add variety.

CSS to copy

:root {
  --pastel-yellow: #fdfd96;
  --pastel-yellow-complement: #fd96fd;
  --pastel-yellow-complement-rgb: #9696fd;
  --pastel-yellow-complement-oklch: #f5f5ff;
}

The story of Pastel Yellow

The word pastel comes from the art medium of pastel sticks, which historically appeared less saturated than paints made from the same pigment, so pale tints took the name. The French word is first recorded in 1662, from Medieval Latin for woad paste. Source: Wikipedia.

Peeps marshmallow candy, introduced by Just Born in 1953, began as yellow chicks, and the yellow chick was the original form that gave the product its name. Source: Wikipedia.

Frequently asked questions

What is the complementary color of Pastel Yellow?

On the artist wheel it is #FD96FD (violet). On the digital RGB wheel it is #9696FD (cornflowerblue), and in OKLCH it is #F5F5FF (ghostwhite). The first is the traditional answer, and the second is what you get by rotating the hue in HSL.

Can I use Pastel Yellow and its complement for text?

The artist pair reaches 1.79:1, so not directly. A text-safe partner is #AC4AAE at 4.53:1.

Should I use the artist or digital complement of Pastel Yellow?

The artist and digital wheels differ by ΔE 20.6 here. Use the artist answer (#FD96FD) for paint, print and traditional color theory, and the digital one (#9696FD) when you write CSS.

What is a softer alternative to the complement of Pastel Yellow?

Try the split-complementary pair #BF96FD and #FD96B8, which sit 30° either side of the complement on the artist wheel.

Is the complement of Pastel Yellow safe for color blindness?

Even the weakest case, tritanopia, keeps the closest pair at ΔE 27.3. That is a clear difference, so this pairing holds up for most color-vision types.

Content updated