Skip to content
Color Codes

CSS named color

LightYellow Color Code

LightYellow is a very light, vivid yellow with the hex code #FFFFE0. In RGB it is rgb(255, 255, 224), in HSL hsl(60, 100%, 94%) and in CMYK cmyk(0%, 0%, 12%, 0%).

LightYellow
#FFFFE0

Color values

In CSS you can write it as the keyword lightyellow.

White text on LightYellow has a contrast ratio of 1.02:1 and black text 20.63:1, so black text is the more readable choice.

The closest Tailwind CSS color is Lime 50 (#F7FEE7).

Use LightYellow in CSS

.element {
  color: lightyellow;
  background-color: #ffffe0;
  border-color: rgb(255, 255, 224);
}

Tints and shades of LightYellow

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with LightYellow

Color-wheel harmonies built from #FFFFE0. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on LightYellow

Aa
White text
1.02:1
Fail
Aa
Black text
20.63:1
AAA
Check in the contrast checker

Colors similar to LightYellow

Palettes with similar colors

Questions about LightYellow

What is the hex code for LightYellow?

The hex code for LightYellow is #FFFFE0. Its RGB value is rgb(255, 255, 224) and its HSL value is hsl(60, 100%, 94%).

What colors go with LightYellow?

The complementary color of LightYellow is #E0E0FF. For a softer scheme try the analogous colors #FFF0E0 and #F0FFE0; for a balanced three-color scheme use the triadic colors #E0FFFF and #FFE0FF.

Is LightYellow readable as a text color?

On a white background LightYellow has a contrast ratio of 1.02:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 20.63:1.

More yellow colors