Swatchproof

Moccasin #FFE4B5

Moccasin is one of the named colours in CSS, written moccasin. Black text reaches 17.02:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordmoccasin
HEX#FFE4B5
RGBrgb(255 228 181)
HSLhsl(38 100% 85%)
OKLCHoklch(93.0% 0.068 81.4)
White text1.23:1 · body text AA Fail
Black text17.02:1 · body text AA Pass

Colours that go with Moccasin

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Sulpher Yellow (#F5ECC2), close. These are the colours Wada paired it with, ranked by their contrast with Moccasin itself.

ColourHEXContrast with MoccasinBody text AA
Black#11131415.10:1Pass
Deep Slate Olive#25312211.04:1Pass
Slate Color#34454C8.10:1Pass
Vandar Poel's Blue#064F6E7.24:1Pass
Pale Raw Umber#71502F5.89:1Pass
Carmine Red#A62C375.60:1Pass
Brick Red#A842224.91:1Pass
Antwarp Blue#0071904.52:1Pass
Cossack Green#4377424.30:1Fail
Olive Green#6B71404.19:1Fail
Olive#837E313.41:1Fail
Eupatorium Purple#BF58923.39:1Fail
Eugenia Red | B#DA525D3.18:1Fail
Light Mauve#9A72AA3.17:1Fail
Green Blue#0991973.09:1Fail
Oil Green#8192382.79:1Fail
Peach Red#F15A302.72:1Fail
Light Brown Drab#B593922.25:1Fail
Citrine#B09F362.17:1Fail
Grenadine Pink#F480672.09:1Fail
Laelia Pink#CA92A82.08:1Fail
Salvia Blue#97ACC81.88:1Fail
Coral Red#F58E841.87:1Fail
Ochraceous Salmon#D8A37B1.80:1Fail
Yellow Orange#F99D1B1.72:1Fail
Night Green#87C5401.69:1Fail
Golden Yellow#F3A2571.68:1Fail
Pinkish Cinnamon#EEB4801.48:1Fail
Light Glaucous Blue#A5C8D11.44:1Fail
Corinthian Pink#F8B6BA1.37:1Fail
Yellow Green#AFD4721.36:1Fail
Cream Yellow#FDBF681.33:1Fail
Pale King's Blue#A7D4E41.29:1Fail
Cinnamon Buff#FDC57E1.26:1Fail

Palettes with Sulpher Yellow

Shades and tints of Moccasin

Nine lightness steps in OKLCH that keep the hue of Moccasin. Chroma is reduced only where sRGB cannot show it.

:root {
  --moccasin-100: #FFF4E0;
  --moccasin-200: #FCE1B2;
  --moccasin-300: #E4CA9C;
  --moccasin-400: #C7AD80;
  --moccasin-500: #A78E62;
  --moccasin-600: #866E42;
  --moccasin-700: #685126;
  --moccasin-800: #4C3607;
  --moccasin-900: #2E1F00;
}

Text that keeps Moccasin on screen

Text #2E1F00 on #FFE4B5 reaches 12.97:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours