Moccasin — #FFE4B5
#FFE4B5 is a very light, vivid orange. It is the CSS named color moccasin.
Color values
| HEX | #FFE4B5 |
| RGB | rgb(255, 228, 181) |
| HSL | hsl(38, 100%, 85%) |
| CMYK | cmyk(0%, 11%, 29%, 0%) |
| Decimal | 16770229 |
| CSS | color: #FFE4B5; |
| Android | 0xFFFFE4B5 |
| Swift | UIColor(red: 1.000, green: 0.894, blue: 0.710, alpha: 1) |
Accessibility and contrast
| White text on #FFE4B5 | 1.23:1 — AA fail · AA large fail · AAA fail |
| Black text on #FFE4B5 | 17.02:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #FFE4B5
Each swatch keeps the hue and saturation of #FFE4B5 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #FFE4B5
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #FFE4B5 in code
/* CSS */
.element { color: #FFE4B5; background-color: #FFE4B5; }
.element { color: rgb(255 228 181); }
.element { color: hsl(38 100% 85%); }
/* Tailwind arbitrary value */
<div class="bg-[#FFE4B5] text-black">
/* SCSS variable */
$brand: #FFE4B5;
Frequently asked questions
What color is #FFE4B5?
#FFE4B5 is a very light, vivid orange, which CSS calls moccasin. Its hue sits at 38° on the color wheel, with 100% saturation and 85% lightness.
What is #FFE4B5 in RGB?
#FFE4B5 converts to rgb(255, 228, 181) — 255 red, 228 green and 181 blue.
What is #FFE4B5 in CMYK?
Approximately cmyk(0%, 11%, 29%, 0%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #FFE4B5 be white or black?
Black gives the better contrast ratio (17.02:1 versus 1.23:1).
What is the complementary color of #FFE4B5?
#B3CFFF — the hue directly opposite #FFE4B5 on the color wheel.