Skip to content

Moccasin

Moccasin is a pastel color from the orange family. Hex code #FFE4B5.

Moccasin#FFE4B5

Moccasin color codes

  • CSS namemoccasin
  • HEX#FFE4B5
  • RGBrgb(255, 228, 181)
  • HSLhsl(38, 100%, 85%)
  • OKLCHoklch(93% 0.068 81.4)
HSB and CMYK values
  • HSB / HSVhsb(38, 29%, 100%)
  • CMYKC0 M11 Y29 K0

White text

1.23:1 · fails WCAG

Black text

17.01:1 · passes WCAG AAA

Shades of moccasin

A darker shade of moccasin is #CEB487 (200).

Colors that go with moccasin

Complementary

Analogous

Triadic

The complementary color of moccasin is #B5D0FF, close to light blue.

Click a color to copy its hex code.

Colors similar to moccasin

Each compared with moccasin.

About this color

Moccasin in CSS and design

Moccasin is one of the extended color keywords, which mostly go back to the X11 color names of Unix systems. These four lines all give the same moccasin:

color: moccasin;
color: #FFE4B5;
color: rgb(255, 228, 181);
color: hsl(38, 100%, 85%);

Frequently asked questions

What is the hex code for moccasin?

#FFE4B5. In CSS you can also use the keyword moccasin, which works in every browser.

What is moccasin in RGB and HSL?

In RGB it is rgb(255, 228, 181) and in HSL hsl(38, 100%, 85%). In CMYK it is about C0 M11 Y29 K0, though printed colors vary with paper and ink.

Should I use black or white text on moccasin?

Black text works better: it has a contrast ratio of 17.01:1 and passes WCAG AAA. White text reaches 1.23:1.

What is the complementary color of moccasin?

#B5D0FF, close to light blue. It sits opposite moccasin on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.

Which colors go with moccasin?

For strong contrast, pair it with its complementary color #B5D0FF. For a calmer look, combine it with its analogous neighbors #FFBFB5 and #F5FFB5. The palette generator builds more combinations.