AfoliOpen Afoli →

Moccasin color #FFE4B5

Moccasin is one of the CSS named colors (keyword moccasin) with the hex code #FFE4B5 — RGB 255, 228, 181, HSL 38°, 100%, 85%.

Open in Afoli Colour tools →

#FFE4B5Moccasin

Color codes

HEX
#FFE4B5
RGB
rgb(255, 228, 181)
HSL
hsl(38, 100%, 85%)
CMYK
0%, 11%, 29%, 0%
OKLCH
oklch(93% 0.068 81.4)
CSS keyword
moccasin

Tints and shades

#FFF4DF#F1D6A8#D6BC8E#BCA275#A2895D#897145#70592E#594216#422D00#291A00#120900

Color harmonies

Complementary
#FFE4B5#DBE9FF
Analogous
#FFE1CF#FFE4B5#E9EDB9
Triadic
#FFE4B5#B2F6FB#FADCFF
Split complementary
#FFE4B5#CCEEFF#E7E4FF
Tetradic
#FFE4B5#BAF7E2#DBE9FF#FFDDEB

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Moccasin text on white1.23 : 112Fails for text
Moccasin text on black17.02 : 1-92AAA — any text
White text on Moccasin1.23 : 1-13Fails for text
Black text on Moccasin17.02 : 192AAA — any text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Moccasin?

Moccasin has the hex code #FFE4B5, which is RGB 255, 228, 181 and HSL 38°, 100%, 85%.

Which text color reads best on Moccasin?

Black text: contrast 17.02 : 1 (white text: 1.23 : 1).

Which colors go well with Moccasin?

Its complementary color is #DBE9FF; analogous colors are #FFE1CF and #E9EDB9; a triadic set adds #B2F6FB and #FADCFF.

Similar colors

Sources and licences

Updated November 21, 2026