Moccasin — #FFE4B5
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Moccasin values in every format
| CSS name | moccasin |
|---|---|
| HEX | #FFE4B5 |
| RGB | rgb(255, 228, 181) |
| RGB % | 100%, 89%, 71% |
| HSL | hsl(38, 100%, 85%) |
| HSV / HSB | 38°, 29%, 100% |
| CMYK (print) | 0%, 11%, 29%, 0% |
| Relative luminance | 0.801 |
| Contrast on black | 17.02 : 1 |
| Contrast on white | 1.23 : 1 |
| Best text colour on it | Black (17.02 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Moccasin (50–950)
50 #FFF9F0100 #FFF2DB200 #FFE1AD300 #FFCB70400 #FFB129500 #EB9500600 #BD7800700 #945E00800 #704700900 #4C3100950 #2E1D00
The scale keeps Moccasin's hue (38°) and saturation (100%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Moccasin
Complementary: #FFE4B5#B5D0FF
Analogous: #FFBFB5#FFE4B5#F5FFB5
Triadic: #FFE4B5#B5FFE4#E4B5FF
Split-complementary: #FFE4B5#B5F5FF#BFB5FF
Square: #FFE4B5#B5FFBF#B5D0FF#FFB5F5
Computed by rotating the hue wheel from 38°. Try them live in the Colour Harmony Generator.
Closest named colours
navajowhite (#FFDEAD) · peachpuff (#FFDAB9) · wheat (#F5DEB3)
Using Moccasin well
Moccasin sits in the orange family at 85% lightness — a light, vivid, warm colour. As a background it pairs best with black text (17.02:1 contrast). Its complement (#B5D0FF) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#FFBFB5, #F5FFB5) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Moccasin is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Moccasin?
#FFE4B5 — the CSS named colour “moccasin”. Its RGB is (255, 228, 181).
Is Moccasin good for text or backgrounds?
As a background, black text reads best on it (17.02:1). As text itself on white it reaches 1.23:1 — not enough for body text at AA; use it for headings, large text or accents.
What colours go with Moccasin?
Its complement #B5D0FF for contrast, analogous #FFBFB5 and #F5FFB5 for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Moccasin in CMYK for printing?
C0 M11 Y29 K0. CMYK conversions of screen colours are a starting point — always proof before a print run.