Moccasin color: hex code #FFE4B5
Moccasin has the hex code #FFE4B5. It is a very light, vivid orange.
In the RGB color model it is made of 100% red, 89.4% green and 71% blue (255, 228, 181).
Its hue angle is 38°, with 100% saturation and 85% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 29% yellow and 0% black.
You can use it in CSS with the keyword moccasin.
Black text is the more readable choice on this background (contrast 17.02:1).
Moccasin (#FFE4B5) color codes
| HEX | #FFE4B5 | |
|---|---|---|
| RGB | rgb(255, 228, 181) | |
| RGB percent | rgb(100%, 89.4%, 71%) | |
| HSL | hsl(38, 100%, 85%) | |
| HSV / HSB | hsv(38, 29%, 100%) | |
| CMYK | cmyk(0%, 11%, 29%, 0%) | |
| CIE LAB | lab(91.72, 2.44, 26.36) | |
| CIE LCH | lch(91.72, 26.47, 84.71) | |
| CIE XYZ | xyz(77.325, 80.085, 55.092) | |
| Decimal | 16770229 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Moccasin, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #FFE4B5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.02:1 | Pass | Pass | Pass |
| Sample text | 1.23:1 | Fail | Fail | Fail |
| #FFE4B5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.02:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #FFE4B5 looks to people with the most common types of color vision deficiency.
#f0e3b2Protanopia
no red cones#f7eab6Deuteranopia
no green cones#ffdbd7Tritanopia
no blue cones#e7e7e7Achromatopsia
no color vision
CSS examples
.background { background-color: #ffe4b5; }
.text { color: #ffe4b5; }
.border { border: 2px solid #ffe4b5; }
.transparent { background-color: rgb(255 228 181 / 50%); }
.gradient { background: linear-gradient(to right, #ffe4b5, #f5ffb5); }
Similar colors
#fde3b5White Strawberry#ffe5b4Peach#ffe8bbGold Buttercup#ffe8bdCreamy Apricot#f7dfafPasta#f9e3b4Noodles#f6dfb2Butter Muffin#fbddafSuch a Peach
See #FFE4B5 on its hex code page
Questions
- What color is #FFE4B5?
- #FFE4B5 is a very light, vivid orange known as Moccasin. It belongs to the beige family of colors.
- What is the RGB value of Moccasin?
- The RGB value is 255, 228, 181: 255 red, 228 green and 181 blue on a 0 to 255 scale.
- What is the complementary color of Moccasin?
- The complementary color is #B5D0FF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #FFE4B5?
- Black text. Black text has a contrast ratio of 17.02:1 and white text 1.23:1. WCAG asks for at least 4.5:1 for normal text.