Moccasin color: hex code #FFE4B5

#FFE4B5 rgb(255, 228, 181)
Shades of beige

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
RGBrgb(255, 228, 181)
RGB percentrgb(100%, 89.4%, 71%)
HSLhsl(38, 100%, 85%)
HSV / HSBhsv(38, 29%, 100%)
CMYKcmyk(0%, 11%, 29%, 0%)
CIE LABlab(91.72, 2.44, 26.36)
CIE LCHlch(91.72, 26.47, 84.71)
CIE XYZxyz(77.325, 80.085, 55.092)
Decimal16770229
Short hexNone (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 #FFE4B5RatioAAAAAAA large
Sample text17.02:1PassPassPass
Sample text1.23:1FailFailFail
#FFE4B5 as text onRatioAAAAAAA large
Sample text1.23:1FailFailFail
Sample text17.02:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.