CSS named color
Moccasin Color Code
Moccasin is a light, vivid orange with the hex code #FFE4B5. In RGB it is rgb(255, 228, 181), in HSL hsl(38, 100%, 85%) and in CMYK cmyk(0%, 11%, 29%, 0%).
Color values
In CSS you can write it as the keyword moccasin.
White text on Moccasin has a contrast ratio of 1.23:1 and black text 17.02:1, so black text is the more readable choice.
The closest Tailwind CSS color is Orange 200 (#FED7AA).
Use Moccasin in CSS
.element {
color: moccasin;
background-color: #ffe4b5;
border-color: rgb(255, 228, 181);
} Tints and shades of Moccasin
Ten steps from light to dark at the same hue. Click any swatch to copy it.
Colors that go with Moccasin
Color-wheel harmonies built from #FFE4B5. Click a swatch to copy it or open the set in the color wheel.
Split complementary
Open in color wheelA base plus the two neighbors of its complement — contrast with less tension.
Text contrast on Moccasin
Colors similar to Moccasin
Closest CSS named colors
Closest traditional Chinese colors
Closest Tailwind colors
Palettes with similar colors
Questions about Moccasin
What is the hex code for Moccasin?
The hex code for Moccasin is #FFE4B5. Its RGB value is rgb(255, 228, 181) and its HSL value is hsl(38, 100%, 85%).
What colors go with Moccasin?
The complementary color of Moccasin is #B3CFFF. For a softer scheme try the analogous colors #FFBDB3 and #F5FFB3; for a balanced three-color scheme use the triadic colors #B3FFE3 and #E3B3FF.
Is Moccasin readable as a text color?
On a white background Moccasin has a contrast ratio of 1.23:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 17.02:1.