#FFE4B5 color (moccasin)

#FFE4B5 is rgb(255, 228, 181) in RGB and hsl(38, 100%, 85%) in HSL. It is exactly the CSS color moccasin. Use black text on it (contrast 17.02:1).

#FFE4B5moccasin
HEX#FFE4B5
RGBrgb(255, 228, 181)
RGB percentrgb(100%, 89.4%, 71%)
HSLhsl(38, 100%, 85%)
HSV / HSBhsv(38, 29%, 100%)
CMYKcmyk(0%, 11%, 29%, 0%)
CIELAB (D65)lab(91.7 2.4 26.4)

Edit in the color converter → · Check contrast → · Shades →

About #FFE4B5

#FFE4B5 is a pale, vivid amber with a hue angle of 38°. It belongs to the orange family and reads as a warm color. In the RGB model red is the strongest channel at 255 (100%) and blue the weakest at 181 (71%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#FFE4B5
RGBrgb(255, 228, 181)
RGB percentrgb(100%, 89.4%, 71%)
HSLhsl(38, 100%, 85%)
HSV / HSBhsv(38, 29%, 100%)
CMYKcmyk(0%, 11%, 29%, 0%)
CIELAB (D65)lab(91.7 2.4 26.4)
Decimal16770229
Binary11111111 11100100 10110101

HEX FF E4 B5 → 255, 228, 181 (each pair is a base-16 number: F×16 + F = 255)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #FFE4B5

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #FFE4B5RatioAA normalAA largeAAA normalAAA large
White text1.23:1FailFailFailFail
Black text17.02:1PassPassPassPass
White text on #FFE4B5
Black text on #FFE4B5
#FFE4B5 text on white
#FFE4B5 text on black

Relative luminance is 0.8008 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#f0e3b2

Deuteranopia
#f7eab6

Tritanopia
#ffdbd7

Achromatopsia
#e7e7e7

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 5.2). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
moccasin#ffe4b50
wheat#f5deb32
navajowhite#ffdead2.1
bisque#ffe4c44.5

CSS

.element {
  color: #ffe4b5;
  background-color: rgb(255, 228, 181);
  border: 1px solid hsl(38, 100%, 85%);
  box-shadow: 0 2px 8px rgb(255 228 181 / 50%);
}
:root { --brand: #ffe4b5; }

Frequently asked questions

What color is #FFE4B5?
A pale vivid amber in the orange family. Closest CSS name: moccasin.
What is #FFE4B5 in RGB?
rgb(255, 228, 181): red 255, green 228, blue 181.
What is the complementary color of #FFE4B5?
#B5D0FF, found by rotating the hue 180°.