Description
Moccasin has a hue of 38°, saturation 100% and lightness 85%, which places it in the orange family. Its strongest channel is red (255).
Using moccasin in CSS
.title { color: moccasin; }
.box { background: moccasin; border-color: #ffe4b5; }
.soft { background: rgb(255 228 181 / 20%); } /* moccasin at 20% opacity */Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.
Similar named colors
| Color | HEX | RGB | ΔE 2000 |
|---|---|---|---|
| wheat | #f5deb3 | 245, 222, 179 | 2 |
| navajowhite | #ffdead | 255, 222, 173 | 2.1 |
| bisque | #ffe4c4 | 255, 228, 196 | 4.5 |
| blanchedalmond | #ffebcd | 255, 235, 205 | 4.9 |
| papayawhip | #ffefd5 | 255, 239, 213 | 6.5 |
| peachpuff | #ffdab9 | 255, 218, 185 | 6.7 |
| antiquewhite | #faebd7 | 250, 235, 215 | 8.1 |
| palegoldenrod | #eee8aa | 238, 232, 170 | 8.2 |
ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.
Pairs well with
Readability
Contrast with white text: 1.23:1; with black text: 17.02:1. Black body text on moccasin meets WCAG AA; white text does not.