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%.
#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
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Moccasin text on white | 1.23 : 1 | 12 | Fails for text |
| Moccasin text on black | 17.02 : 1 | -92 | AAA — any text |
| White text on Moccasin | 1.23 : 1 | -13 | Fails for text |
| Black text on Moccasin | 17.02 : 1 | 92 | AAA — any text |
Palettes with this color
- Dark Brown & Moccasin
- Marine & Bisque
- Dust & Very Dark Brown
- Moccasin & Chocolate Brown
- Sand & Dark Brown
- Powder Pink & Chocolate Brown
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
- Navajo White #FFDEAD
- Bisque #FFE4C4
- Wheat #F5DEB3
- Peach Puff #FFDAB9
- Blanched Almond #FFEBCD
- Pale Goldenrod #EEE8AA
- Light Tan #FBEEAC
- Antique White #FAEBD7
- Papaya Whip #FFEFD5
- Beige #F5F5DC
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)