Moccasin — Color Codes & Palette
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)
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 →