Moccasin Color

HEX #FFE4B5 · rgb(255, 228, 181) · hsl(38, 100%, 85%)

Moccasin color codes

Moccasin is one of the named colors every browser understands. In CSS you can write it as moccasin or #FFE4B5.

FormatValue
HEX#FFE4B5
RGBrgb(255, 228, 181)
HSLhsl(38, 100%, 85%)
CMYK0%, 11%, 29%, 0%
CSS namemoccasin
.example {
  color: moccasin;
  background-color: #FFE4B5;
  border-color: rgb(255, 228, 181);
}

Colors that go with moccasin

These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.

#B5D0FFComplementary
#FFBFB5Analogous
#F5FFB5Analogous
#B5FFE4Triadic
#E4B5FFTriadic

Tints and shades of moccasin

Tints mix the color with white; shades mix it with black.

#FFFCF890% white
#FFF8ED75% white
#FFF4E160% white
#FFF0D645% white
#FFECCB30% white
#FFE8C015% white
#FFE4B5Base
Moccasin
#D9C29A15% black
#B3A07F30% black
#8C7D6445% black
#665B4860% black
#40392D75% black
#1A171290% black

Contrast and readability

Black text
17.02:1
passes AA and AAA
White text
1.23:1
fails

Use black text on moccasin. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.

Frequently asked questions

What is the hex code for moccasin?

The hex code for moccasin is #FFE4B5.

What is the RGB value of moccasin?

Moccasin is rgb(255, 228, 181): 255 red, 228 green and 181 blue on a 0 to 255 scale.

What color goes with moccasin?

Its complementary color is #B5D0FF, which is closest to the named color light blue. Analogous and triadic matches are listed on this page.

Should text on moccasin be black or white?

Use black text. The contrast ratio is 17.02:1 with black and 1.23:1 with white. WCAG AA asks for at least 4.5:1 for normal text.

Similar named colors

Pick any other color with the color picker, or browse all named colors.