Light yellow #FFFFE0
Light yellow is one of the named colours in CSS, written lightyellow. Black text reaches 20.63:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | lightyellow |
|---|---|
| HEX | #FFFFE0 |
| RGB | rgb(255 255 224) |
| HSL | hsl(60 100% 94%) |
| OKLCH | oklch(99.2% 0.040 107.1) |
| White text | 1.02:1 · body text AA Fail |
| Black text | 20.63:1 · body text AA Pass |
Colours that go with Light yellow
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is White (#FFFFFF), close. These are the colours Wada paired it with, ranked by their contrast with Light yellow itself.
| Colour | HEX | Contrast with Light yellow | Body text AA |
|---|---|---|---|
| Old Rose | #D46D7A | 3.29:1 | Fail |
Palettes with White
Shades and tints of Light yellow
Nine lightness steps in OKLCH that keep the hue of Light yellow. Chroma is reduced only where sRGB cannot show it.
- 100#F8F8D9
- 200#E7E7C9
- 300#D0D0B2
- 400#B3B396
- 500#959478
- 600#747458
- 700#57573D
- 800#3D3C23
- 900#24230A
:root {
--lightyellow-100: #F8F8D9;
--lightyellow-200: #E7E7C9;
--lightyellow-300: #D0D0B2;
--lightyellow-400: #B3B396;
--lightyellow-500: #959478;
--lightyellow-600: #747458;
--lightyellow-700: #57573D;
--lightyellow-800: #3D3C23;
--lightyellow-900: #24230A;
}
Text that keeps Light yellow on screen
Text #24230A on #FFFFE0 reaches 15.63:1, which passes WCAG AA for body text. Check it on a dashboard