Skip to main content
matte

#FFE4B5

moccasin

#FFE4B5 is the CSS named color "moccasin", an exact match. In RGB it breaks down to red 255, green 228, and blue 181 out of 255 each. In HSL terms that's a hue of 38°, 100% saturation, and 85% lightness: very light, close to white — it works best as a background with dark text on top, not as text on a light page.

Every format

HEX#ffe4b5
RGBrgb(255, 228, 181)
HSLhsl(38° 100% 85%)
HSBhsb(38° 29% 100%)
OKLCHoklch(93% 0.068 81°)
OKLABoklab(93% 0.010 0.067)
LCHlch(92% 27.0 80°)
CMYKcmyk(0% 11% 29% 0%)

Shades (darker)

#ffe4b5 · #e6cc9d · #ceb486 · #b69d70 · #9f865a

Tints (lighter)

#ffe4b5 · #ffe6b7 · #ffe9ba · #ffebbc · #ffedbe

Shades mix #FFE4B5 toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.

On white: 1.23:1 — fails
On black: 17.02:1 — AAA

Frequently asked

What is #FFE4B5 in RGB?
#FFE4B5 is rgb(255, 228, 181) — red 255, green 228, blue 181 out of 255 each.
Does #FFE4B5 pass WCAG contrast on a white background?
It has a contrast ratio of 1.23:1 against white, which fails for normal text.
What's a good background color to pair with #FFE4B5?
Black text or a black background gives better contrast (17.02:1) than white (1.23:1).

Related colors

Full color tools