Moccasin Color Code (#ffe4b5)

Moccasin is #ffe4b5 in hex and rgb(255, 228, 181) — a very light orange. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Moccasin
#ffe4b5
CSS namemoccasin
Hex#ffe4b5
RGBrgb(255, 228, 181)
HSLhsl(38 100% 85%)
HWBhwb(38 71% 0%)
CMYK0%, 11%, 29%, 0%

Tints and shades

Color harmonies

About Moccasin

Moccasin (moccasin) is a very light, vivid orange with the hex code #ffe4b5, or rgb(255, 228, 181). In HSL it sits at a hue of 38°, 100% saturation and 85% lightness. It is one of the 148 named colors every browser understands, so you can write color: moccasin; instead of the hex value.

Using Moccasin for text and backgrounds

PairingContrast ratioWCAG
Moccasin text on white1.23 : 1fails
Moccasin text on black17.02 : 1AAA

On a moccasin background, use black text (17.02 : 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: moccasin;               /* or #ffe4b5 */
  background-color: #ffe4b5;
  border: 1px solid rgb(255 228 181 / 50%);
}

Similar named colors

Navajo White (#ffdead), Peach Puff (#ffdab9), Wheat (#f5deb3), Bisque (#ffe4c4), Pale Goldenrod (#eee8aa), Blanched Almond (#ffebcd).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for moccasin?
#ffe4b5 — that is rgb(255, 228, 181) and hsl(38, 100%, 85%). In CSS you can also just write moccasin.
Is moccasin text readable on white?
Its contrast ratio on white is 1.23 : 1, which fails WCAG — use it for decoration or on a dark background instead.
What colors go well with moccasin?
Its complementary color is #b3cfff; analogous colors #ffbdb3 and #f5ffb3 sit next to it on the color wheel.