About Pale Goldenrod
Pale Goldenrod (palegoldenrod) is a very light, vivid yellow with the hex code #eee8aa, or rgb(238, 232, 170). In HSL it sits at a hue of 55°, 67% saturation and 80% lightness. It is one of the 148 named colors every browser understands, so you can write color: palegoldenrod; instead of the hex value.
Using Pale Goldenrod for text and backgrounds
| Pairing | Contrast ratio | WCAG |
|---|---|---|
| Pale Goldenrod text on white | 1.25 : 1 | fails |
| Pale Goldenrod text on black | 16.76 : 1 | AAA |
On a pale goldenrod background, use black text (16.76 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.
CSS
.element {
color: palegoldenrod; /* or #eee8aa */
background-color: #eee8aa;
border: 1px solid rgb(238 232 170 / 50%);
}
Similar named colors
Wheat (#f5deb3), Navajo White (#ffdead), Moccasin (#ffe4b5), Peach Puff (#ffdab9), Khaki (#f0e68c), Bisque (#ffe4c4).