Skip to content

Light yellow

Light yellow is a white with a faint yellow tint. Hex code #FFFFE0.

Light yellow#FFFFE0

Color codes

  • CSS namelightyellow
  • HEX#FFFFE0
  • RGBrgb(255 255 224)
  • HSLhsl(60 100% 94%)
  • HSB / HSVhsb(60, 12%, 100%)
  • OKLCHoklch(99.2% 0.04 107.1)
  • CMYKcmyk(0%, 0%, 12%, 0%)

White text

1.01:1 · fails WCAG

Black text

20.63:1 · passes WCAG AAA

Shades

50#F4F4D6
100#D7D7B9
200#BBBA9D
300#9F9F82
400#848468
500#6A6A4F
600#515137
700#3A3920
800#24230A

Complementary

#FFFFE0
#FCFCFF

Analogous

#FFFFE0
#FFFCF8
#F8FFF6

Triadic

#FFFFE0
#F9FDFF
#FFFBFD

About this color

Light yellow in CSS and design

Light yellow is a white with a faint yellow tint. Light yellow is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.

Use it in CSS by name or by any of its codes; these all give the same color:

color: lightyellow;
color: #FFFFE0;
color: rgb(255 255 224);
color: hsl(60 100% 94%);

For text on light yellow, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.

Frequently asked questions

What is the hex code for light yellow?

#FFFFE0. In CSS you can also use the keyword lightyellow, which works in every browser.

What is light yellow in RGB and HSL?

In RGB it is rgb(255 255 224), in HSL hsl(60 100% 94%). For print, cmyk(0%, 0%, 12%, 0%) is a starting point, but CMYK depends on paper and ink, so check with your printer.

Should I use black or white text on light yellow?

Black text works better: it has a contrast ratio of 20.63:1 and passes WCAG AAA. White text reaches 1.01:1.

Which colors go with light yellow?

Its complementary color is #FCFCFF, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #FFFCF8 and #F8FFF6. The palette generator builds more combinations.