Moccasin
moccasin · #FFE4B5
HEX
#FFE4B5
RGB
rgb(255, 228, 181)
CMYK
cmyk(0%, 11%, 29%, 0%)
HSL
hsl(38, 100%, 85%)
LAB
lab(91.7, 2.4, 26.4)
What is Moccasin?
Moccasin is the moccasin reference in the CSS Named Colors. Its sRGB value is #FFE4B5 (rgb 255, 228, 181). It sits in the yellow family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Moccasin as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Moccasin
An 11-step tonal scale derived from Moccasin (#FFE4B5). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#FFFDF9
#FFFDF9
100
#FFFBF3
#FFFBF3
200
#FFF6E7
#FFF6E7
300
#FFF2DA
#FFF2DA
400
#FFEBC8
#FFEBC8
500
#FFE4B5
#FFE4B5
600
#D9C29A
#D9C29A
700
#A69476
#A69476
800
#736751
#736751
900
#40392D
#40392D
950
#1F1B16
#1F1B16
Lighter tints (mixed with white)
15%
#FFE8C3
30%
#FFEDCF
45%
#FFF1DA
60%
#FFF5E5
75%
#FFF9EF
Darker shades (mixed with black)
15%
#EDD4A8
30%
#DAC39A
45%
#C4AF8A
60%
#AA9777
75%
#897A5F
Color harmonies for Moccasin
Classic color-theory harmonies derived from rotating the hue of Moccasin. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#FFE4B5
#FFE4B5
#B3CFFF
#B3CFFF
Triadic
Three colors 120° apart
#FFE4B5
#FFE4B5
#B3FFE3
#B3FFE3
#E3B3FF
#E3B3FF
Analogous
Two neighbors ±30° on the wheel
#FFBDB3
#FFBDB3
#FFE4B5
#FFE4B5
#F5FFB3
#F5FFB3
Split-complementary
Base + two colors flanking its complement
#FFE4B5
#FFE4B5
#B3F5FF
#B3F5FF
#BDB3FF
#BDB3FF
Tetradic
Two complementary pairs
#FFE4B5
#FFE4B5
#CFFFB3
#CFFFB3
#B3CFFF
#B3CFFF
#E3B3FF
#E3B3FF
Square
Four colors evenly spaced 90° apart
#FFE4B5
#FFE4B5
#B3FFBD
#B3FFBD
#B3CFFF
#B3CFFF
#FFB3F5
#FFB3F5
Moccasin in every color space
Full conversion of Moccasin across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#FFE4B5
RGB
rgb(255, 228, 181)
CMYK
cmyk(0%, 11%, 29%, 0%)
HSL
hsl(38, 100%, 85%)
HSV
hsv(38, 29%, 100%)
HWB
hwb(38 71% 0%)
CIE Lab
lab(91.7 2.4 26.4)
OKLCH
oklch(93.0% 0.068 81.4)
XYZ (D65)
xyz(77.32, 80.09, 55.09)
Copy-ready code for Moccasin
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #FFE4B5;
background-color: #FFE4B5;CSS variable
:root {
--color-moccasin: #FFE4B5;
}Tailwind config
// tailwind.config.js
colors: {
'moccasin': '#FFE4B5',
}Sass
$color-moccasin: #FFE4B5;Swift UIColor
UIColor(red: 1.000, green: 0.894, blue: 0.710, alpha: 1.0)Android XML
<color name="moccasin">#FFE4B5</color>Closest match in every color system
The nearest Moccasin equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in CSS Named Colors
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 1015
#E6D690
Light ivory
RAL 1013
#EAE6CA
Oyster white
RAL 9001
#FDF4E3
Cream
RAL 7044
#CAC4B0
Silk grey
RAL 9002
#E7EBDA
Grey white
RAL 1001
#C2B078
Beige
FAQ about Moccasin
What is the HEX code for Moccasin?
Moccasin (moccasin) has the HEX code #FFE4B5. In RGB it is rgb(255, 228, 181), and in CMYK it is cmyk(0%, 11%, 29%, 0%).
What is the OKLCH value of Moccasin?
Moccasin converts to oklch(0.930 0.068 81.4). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Moccasin accessible for body text?
Used as a background, Moccasin has a contrast ratio of 17.02:1 with black text and 1.23:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.
What is the closest Pantone to Moccasin?
The closest Pantone reference to Moccasin by ΔE2000 perceptual distance is Pantone 466 C (#C7B27E). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Moccasin?
The closest RAL Classic reference to Moccasin by ΔE2000 distance is RAL 1015 (Light ivory, #E6D690). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Moccasin?
The complementary color (180° opposite on the HSL color wheel) of Moccasin is #B3CFFF. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
CSS Named Colors (CSS Color Module Level 4)
The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.
- Source type
- derived
- Confidence
- high
- License
- W3C permissive document license
- Last reviewed
- 2026-05-24
Workflow tags
CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.