#FFE4B5

Moccasin — Color Codes & Palette

#FFE4B5  ·  rgb(255, 228, 181)  ·  hsl(38, 100%, 85%)

Color Codes

Format Value
HEX #FFE4B5
RGB rgb(255, 228, 181)
HSL hsl(38, 100%, 85%)

Shades of Moccasin

#FFD285#FFC157#FFB029#FA9E00#CC8100#9E6400#704700#422A00

Tints of Moccasin

#FFE5B8#FFE7BD#FFE9C2#FFEAC7#FFECCC#FFEED1#FFF0D6#FFF2DB

Color Pairings & Harmony

Complementary
#B3CFFF
Analogous +30°
#F5FFB3
Analogous −30°
#FFBDB3
Triadic +120°
#B3FFE3
Triadic −120°
#E3B3FF

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
1.23:1 — Fail
vs. Black (#000000)
17.02:1 — AAA pass for normal text

CSS Snippet

.element {
  color: #FFE4B5;
}

.element-bg {
  background-color: #FFE4B5;
  color: #000000;
}

.element-border {
  border: 2px solid #FFE4B5;
}

About Moccasin

Moccasin is a very light color with vivid, highly saturated, defined by the hex code #FFE4B5. Its exact color model values are rgb(255, 228, 181) in RGB and hsl(38, 100%, 85%) in HSL (hue 38°, saturation 100%, lightness 85%). On a white background the contrast ratio is 1.23:1 — Fail, and on black it is 17.02:1 — AAA pass for normal text. Use Moccasin for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of Moccasin?
The RGB value of Moccasin (#FFE4B5) is rgb(255, 228, 181). Red = rgb(255, 228, 181), representing the amounts of red, green, and blue light on a 0–255 scale.
Is Moccasin accessible on a white background?
The contrast ratio of Moccasin on white (#FFFFFF) is 1.23:1 — Fail. On black (#000000) the contrast ratio is 17.02:1 — AAA pass for normal text. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with Moccasin?
Based on color theory, Moccasin (hsl(38, 100%, 85%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.