Light Yellow Hex Code #FFFFE0
Light Yellow is a very light, muted yellow with the hex code #FFFFE0. In RGB it is 255, 255, 224, and in HSL it is 60°, 100%, 94%. It is one of the 148 named colors in CSS, so you can write “lightyellow” instead of the hex code.
- HEX
- #FFFFE0
- RGB
- rgb(255, 255, 224)
- HSL
- hsl(60, 100%, 94%)
- HSV
- hsv(60°, 12%, 100%)
- CMYK
- cmyk(0%, 0%, 12%, 0%)
- CSS name
- lightyellow
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Light Yellow
On a white background Light Yellow has a contrast ratio of 1.02:1 (Fail), and on black 20.63:1 (AAA). Black text is the better choice on top of it.
It sits on the warm side of the color wheel, a range that tends to feel energetic and appears to advance toward the viewer.
Yellow is the brightest hue, so it is excellent for highlights but difficult to read as text on a white background. Pair it with dark text rather than white.
Shades and tints of Light Yellow
Tints mix Light Yellow with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Color harmonies for Light Yellow
These schemes are calculated from Light Yellow on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.
On the artist’s RYB wheel, the complement of Light Yellow is #F2E0FF, close to the named color Lavender.
Light Yellow contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Light Yellow scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 1.02:1 | ✕ Fail | ✕ Fail | ✕ Fail | ✕ Fail |
| Black (#000000) | 20.63:1 | ✓ Pass | ✓ Pass | ✓ Pass | ✓ Pass |
Light Yellow and color blindness
These are approximate previews of how Light Yellow can look with the main types of color vision deficiency.
Light Yellow looks almost the same.
Light Yellow looks almost the same.
Light Yellow shifts slightly.
Light Yellow shifts slightly.
Gradients with Light Yellow
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Light Yellow to a lighter tint
background: linear-gradient(135deg, #ffffe0 0%, #fffff3 100%); Light Yellow to its analogous neighbour
background: linear-gradient(135deg, #ffffe0 0%, #f0ffe0 100%); Light Yellow to its complement
background: linear-gradient(135deg, #ffffe0 0%, #e0e0ff 100%); Colors similar to Light Yellow
How each close match differs from Light Yellow.
- Cornsilk #FFF8DC Very close in lightness, saturation and hue.
- Beige #F5F5DC Slightly darker.
- Light Goldenrod Yellow #FAFAD2 Very close in lightness, saturation and hue.
- Lemon Chiffon #FFFACD Very close in lightness, saturation and hue.
- Papaya Whip #FFEFD5 Slightly darker, leans more orange.
- Ivory #FFFFF0 Very close in lightness, saturation and hue.
Use Light Yellow in code
.element {
color: #ffffe0;
background-color: #ffffe0;
border-color: lightyellow; /* lightyellow is a valid CSS color name */
} :root {
--color-light-yellow: #ffffe0;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#ffffe0] text-[#ffffe0] border-[#ffffe0]"></div>
/* Tailwind v4 theme color */
@theme {
--color-light-yellow: #ffffe0;
} Light Yellow questions
What is the hex code for Light Yellow?
The hex code for Light Yellow is #FFFFE0. In RGB that is rgb(255, 255, 224), and in HSL it is hsl(60, 100%, 94%).
What is the complementary color of Light Yellow?
On the RGB (screen) color wheel, the complement of Light Yellow is #E0E0FF, which is close to Lavender. On the artist’s RYB wheel it is #F2E0FF, close to Lavender.
Should I use white or black text on Light Yellow?
Black text. It has a contrast ratio of 20.63:1 against Light Yellow, which is WCAG AAA. The other option scores 1.02:1.
Is Light Yellow accessible as a text color on white?
No. Light Yellow on white scores 1.02:1, which is below the WCAG minimum of 3:1 even for large text.
What are darker and lighter shades of Light Yellow?
Mixing Light Yellow with black gives #CCCCB3, #999986, #66665A, #33332D (20% to 80% black). Mixing it with white gives #FFFFE6, #FFFFEC, #FFFFF3, #FFFFF9 (20% to 80% white).