gettoolz.app

Moccasin color: #ffe4b5

The CSS keyword moccasin is #ffe4b5, rgb(255, 228, 181) or hsl(38, 100%, 85%). Its codes to copy, 50–950 tint scale, harmonies and contrast on white and black.

Part of design tools.

CSS keywordmoccasin
HEX#ffe4b5
RGBrgb(255, 228, 181)
HSLhsl(38, 100%, 85%)
OKLCHoklch(93% 0.0675 81.38)

About Moccasin

Moccasin is a muted very light yellow. Its hue sits at 81° in OKLCH and 38° in HSL — the two wheels are spaced differently, which is why the numbers disagree.

The keyword moccasin comes from the X Window System color list, which SVG 1.0 adopted and CSS Color Level 3 brought to every stylesheet.

Moccasin tint scale, 50 to 950

50#fcf4e7
100#f5ead6
200#e6d5b9
300#d0bb96
400#b69e74
500#9b8256
600#7f683e
700#644f28
800#493714
900#332405
950#221600

Eleven steps at fixed perceived lightness, in OKLCH, holding moccasin’s own hue from end to end. The keyword itself falls closest to step 100 (#f5ead6), the one outlined; step 500 is #9b8256.

Harmonies built on Moccasin

Hue angles measured in OKLCH, so every accent keeps moccasin’s perceived lightness. Its complement is #dbe9ff, closest to the named color lavender.

Complementary

#ffe4b5
#dbe9ff

Analogous

#ffe4b5
#e9edb9
#ffe1d0

Triadic

#ffe4b5
#b2f6fb
#fadcff

Split-complementary

#ffe4b5
#cdedff
#e7e4ff

Moccasin on white and on black

moccasin on white1.23:1 · Fail
moccasin on black17.01:1 · AAA

Black text reads better on moccasin (17.01:1). As a text color it belongs on a dark background: on white it only reaches 1.23:1, under the 4.5:1 that body text needs, while on black it reaches 17.01:1. AA asks 4.5:1 for body text and 3:1 for large text; AAA asks 7:1.

Named colors close to Moccasin

Open moccasin in the full tools

Or browse every named color from the color converter.