pastels.in Menu

Pastel yellow, #ffffa6

Pastel yellow is #ffffa6, CSS yellow with 65 parts in 100 of white. Dark text reads on it at 16.94:1.

Dark text 16.94:1

HEX
#ffffa6
RGB
rgb(255, 255, 166)
HSL
hsl(60, 100%, 83%)
OKLCH
oklch(98% 0.11 108.3)

How is pastel yellow made?

CSS yellow
#ffff00 source

35 parts to 65 of white

Pastel yellow
#ffffa6

White goes into CSS yellow until it passes the pastel test: value 100% and saturation 35% in HSV. Of the nine, it is the lightest.

How light can pastel yellow go?

CSS yellow to white in ten steps, each with the share of yellow, its code and the contrast of dark text. Marked steps pass the pastel test.

  1. 100%#ffff0016.47:1
  2. 90%#ffff1916.49:1
  3. 80%#ffff3316.52:1
  4. 70%#ffff4d16.57:1
  5. 60%#ffff6616.64:1
  6. 50%#ffff8016.74:1
  7. 40%#ffff9916.86:1
  8. 30%, a pastel#ffffb317.02:1
  9. 20%, a pastel#ffffcc17.21:1
  10. 10%, a pastel#ffffe617.44:1

What text reads on pastel yellow?

Body text needs 4.5:1, larger text 3:1, and the enhanced level asks 7:1 source.

  • This page’s ink #1b181316.94:1Body text, enhanced level
  • Black #00000020.1:1Body text, enhanced level
  • White #ffffff1.04:1Too faint for text
  • CSS yellow #ffff001.02:1Too faint for text
  • The palest yellow at 4.5:1 #7a77004.5:1Body text

Which colours go with pastel yellow?

The same value and saturation, with the hue turned round the colour wheel.

Opposite

180° round the wheel

  • #ffffa6
  • #a6a6ff

Neighbours

30° either side

  • #ffffa6
  • #ffd2a6
  • #d2ffa6

Three-way

120° and 240° round the wheel

  • #ffffa6
  • #a6ffff
  • #ffa6ff

Split

150° and 210° round the wheel

  • #ffffa6
  • #a6d2ff
  • #d2a6ff

Of the other eight named pastels, the nearest is pastel chartreuse (distance 5.7) and the farthest pastel blue (distance 32.3), on a scale where white to black is 100.

Which CSS colour names are close to it?

Names the browser knows, light and soft, within 20° of its hue, the nearest first source.

  • lemonchiffon#fffacddistance 5.3
  • lightgoldenrodyellow#fafad2distance 5.9
  • palegoldenrod#eee8aadistance 6.7
  • lightyellow#ffffe0distance 7.1
  • cornsilk#fff8dcdistance 7.4
  • beige#f5f5dcdistance 7.9

Where does pastel yellow go?