moccasin moccasin #ffe4b5
moccasin is #ffe4b5 in hexadecimal, rgb(255, 228, 181) in decimal and hsl(38, 100, 85) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.
HEX · RGB · HSL
| HEX | #ffe4b5 |
| RGB | rgb(255, 228, 181) |
| HSL | hsl(38, 100%, 85%) |
Harmonies
Complementary
#b3cfffAnalogous
#ffbdb3#f5ffb3Triadic
#b3ffe3#e3b3ffSplit complementary
#b3f5ff#bdb3ffTints & shades
#ffcb70#ffd68f#ffe3b3#fff0d6#fff8ebAccessibility
| vs #ffffff | 1.23:1 |
| vs #000000 | 17.02:1 |
| Suggested text color | #000000 · 17.02:1 · WCAG AAA |
Similar named colors
FAQ
What is the HEX code for moccasin?
moccasin is #ffe4b5 in hex, rgb(255, 228, 181) in decimal and hsl(38, 100%, 85%) in HSL. In CSS you can write either color: moccasin; or color: #ffe4b5; — they are equivalent.
What colors go with moccasin?
The complementary #b3cfff gives the strongest contrast, the analogous pair #ffbdb3 / #f5ffb3 is the safest, and the triad #b3ffe3 / #e3b3ff adds more tension. All three are derived from the 38° hue of #ffe4b5.
Does #ffe4b5 read better on white or black?
Its contrast is 1.23:1 against white and 17.02:1 against black. Use #000000 text on it — that gives 17.02:1, which meets WCAG AAA.
Is a named color different from a hex color?
No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.