100% free no uploads no sign-up

pastel yellow color code

The hex code for pastel yellow is #FDFD96, which is rgb(253, 253, 150) in RGB and cmyk(0%, 0%, 41%, 1%) in CMYK. It's a light, vivid yellow. There is no official standard for pastel yellow; #FDFD96 is the value most colour references use.

#FDFD96pastel yellow
White text: 1.06:1 ✗Black text: 19.66:1 ✓ AANearest name: pastel yellow

Move the sliders to find a lighter, darker or softer pastel yellow; the codes update as you go.

Pastel Yellow colour codes

HEX#FDFD96
RGBrgb(253, 253, 150)
HSLhsl(60, 96%, 79%)
HSV / HSBhsv(60, 41%, 99%)
CMYKcmyk(0%, 0%, 41%, 1%)
Decimal16645526

About pastel yellow

Pastel Yellow sits at a hue of 60° on the colour wheel, with 96% saturation and 79% lightness. That makes it a warm colour: warm colours feel energetic and inviting and appear to come forward on a page.

A soft, light yellow from the pastel family.

For text, black reads better on pastel yellow. Pastel Yellow as text on a white background has a contrast ratio of 1.06:1, which fails the WCAG AA rule for body text (4.5:1) and fails the 3:1 rule for large text. On black it is 19.66:1, which passes AA for body text.

Tints and shades of pastel yellow

Tints mix pastel yellow with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.

#FFFFF5#FFFFEA#FEFEE0#FEFED5#FEFECB#FEFEC0#FEFEB6#FDFDAB#FDFDA1
pastel yellow #FDFD96
#E4E487#CACA78#B1B169#98985A#7F7F4B#65653C#4C4C2D#33331E#19190F

Colours that go with pastel yellow

Complementary — opposite on the colour wheel: maximum contrast

#FDFD96#9696FD

Analogous — neighbours 30° either side: calm and natural

#FDCA96#FDFD96#CAFD96

Triadic — three hues 120° apart: lively but balanced

#FDFD96#96FDFD#FD96FD

Split complementary — the two neighbours of the complement: contrast with less tension

#FDFD96#96CAFD#CA96FD

Tetradic — four hues 90° apart: rich, use one as the main colour

#FDFD96#96FDCA#9696FD#FD96CA

Pastel Yellow text contrast

CombinationRatioAA normal (4.5:1)AA large (3:1)AAA (7:1)
pastel yellow on white1.06:1failfailfail
pastel yellow on black19.66:1passpasspass

Check pastel yellow against any other colour in the contrast checker.

How pastel yellow looks with colour blindness

Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.

normal #FDFD96protanopia #FFF68Edeuteranopia #FFF99Btritanopia #FFF1E4

Use pastel yellow in code

.pastel-yellow {
  color: #fdfd96;
  background-color: #fdfd96;
  border-color: rgb(253, 253, 150);
}

Frequently asked questions

What is the hex code for pastel yellow?

#FDFD96 is the most widely used value for pastel yellow. There's no official standard, so paint, fabric and brand swatches called pastel yellow can differ slightly; use the hex code to match it exactly on screen.

What is pastel yellow in RGB, HSL and CMYK?

RGB: rgb(253, 253, 150). HSL: hsl(60, 96%, 79%). CMYK: cmyk(0%, 0%, 41%, 1%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.

What colours go with pastel yellow?

Its complementary colour is #9696FD (close to cornflower blue), which gives the strongest contrast. For a calmer look, use the analogous colours #FDCA96 and #CAFD96, or the triadic pair #96FDFD and #FD96FD. Tints and shades of pastel yellow itself always work together.

Is pastel yellow a warm or cool colour?

Pastel Yellow has a hue of 60°, which makes it warm.

Should I use black or white text on pastel yellow?

Black. Black text on pastel yellow has a contrast ratio of 19.66:1 and white text has 1.06:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

Is pastel yellow a CSS colour name?

No. Pastel Yellow isn't one of the named colours built into CSS, so write it as a hex code: color: #fdfd96;

Colours similar to pastel yellow