Using named colors well
- Names are case-insensitive:
SaddleBrown and saddlebrown are the same color.
- Watch the "dark" names. Some are counter-intuitive:
darkgray (#a9a9a9) is lighter than gray (#808080), and darkorange is still bright.
- Pair light warm backgrounds with dark brown or green text.
saddlebrown on cornsilk = 6.66:1, darkolivegreen on linen = 5.29:1, maroon on oldlace = 10.11:1, sienna on floralwhite = 5.40:1.
- Need transparency or tints? Use the hex or RGB value instead, e.g.
rgb(139 69 19 / 0.15) for a 15% saddlebrown wash.
- For hand-tuned palettes with custom hex codes and gradients, see the autumn design system.
Frequently asked questions
Is there a sage green color name in CSS?
No. CSS has 148 named colors and none is called sage. Designers usually write sage as a hex value โ muted grey-greens such as #9caf88 or #b2ac88 are common choices โ or pick the closest named colors, darkseagreen (#8fbc8f) and darkkhaki (#bdb76b).
What is the CSS color name for olive green?
There are three: olive (#808000), olivedrab (#6b8e23) and darkolivegreen (#556b2f). Only darkolivegreen is dark enough for normal-size text on white (5.95:1).
What hex code is CSS wheat?
wheat is #f5deb3, rgb(245, 222, 179). It is light, so use it as a background: saddlebrown text on wheat has a contrast ratio of 5.40:1, which passes WCAG AA for body text.
Is there a dark orange in CSS?
Yes โ darkorange is #ff8c00. Despite the name it is a bright orange with only 2.33:1 contrast against white, so use it for accents or with black text (9.00:1).
Which CSS named colors make a good autumn palette?
Browns (saddlebrown, sienna, chocolate), rust reds (firebrick, indianred), oranges (darkorange), golds (goldenrod, darkgoldenrod), greens (olivedrab, darkolivegreen) and creams (cornsilk, linen, oldlace) cover most fall themes.