Moccasin colour (#FFE4B5)
Moccasin is light an orange with hex code #FFE4B5, one of the 148 named colours every browser understands, so you can write color: ${name} directly in CSS. In RGB it is 255, 228, 181; in HSL 38°, 100%, 85%. Use the tool to explore shades and harmonies.
How to use the Moccasin colour
- The colour is pre-filled; click Explore to see all formats, shades and harmonies.
- Edit the value to try a variation.
- Copy the code you need.
Moccasin in every format
| Format | Value |
|---|---|
| HEX | #FFE4B5 |
| RGB | rgb(255, 228, 181) |
| RGB (0–1) | 1.000, 0.894, 0.710 |
| HSL | hsl(38, 100%, 85%) |
| CMYK (approx.) | 0%, 11%, 29%, 0% |
| CSS | color: moccasin; |
Shades and tints of Moccasin
Same hue and saturation, lightness from 90% to 10%:
#ffeccc | #ffda99 | #ffc766 | #ffb433 | #ffa100 | #cc8100 | #996100 | #664100 | #332000 |
Colours that go with Moccasin
| Harmony | Colours | |
|---|---|---|
| Complementary | #b3cfff | |
| Triadic | #b3ffe3 | #e3b3ff |
| Analogous | #f5ffb3 | #ffbdb3 |
Similar named colours
The closest CSS named colours by RGB distance, useful when you need a keyword instead of a hex code or want a near match:
| Colour | HEX | Difference |
|---|---|---|
| navajowhite | #ffdead | very close |
| peachpuff | #ffdab9 | very close |
| wheat | #f5deb3 | very close |
| bisque | #ffe4c4 | very close |
| palegoldenrod | #eee8aa | very close |
Accessibility
Contrast ratio of Moccasin against white is 1.23:1 (fails WCAG AA for normal text) and against black 17.02:1 (passes). Use black or very dark text on a Moccasin background rather than white.
Frequently asked questions
What is the hex code for Moccasin?
#FFE4B5.
What is Moccasin in RGB?
rgb(255, 228, 181).
What colour is complementary to Moccasin?
#b3cfff, directly opposite on the colour wheel.
Privacy
This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.
Last updated 2026-09-23.