Moccasin#FFE4B5

Moccasin Hex Code: #FFE4B5

Moccasin is a very light, muted yellow. Its OKLCH lightness is 93% and chroma 0.068. Text on this color reads best in black (contrast 17.02:1).

HEX#FFE4B5
RGBrgb(255, 228, 181)
HSLhsl(38, 100%, 85%)
HSV / HSBhsv(38, 29%, 100%)
CMYKcmyk(0%, 11%, 29%, 0%)
OKLCHoklch(93% 0.068 81.4)

Open in converter →

Contrast

White text1.23:1
AAAA largeAAA
Black text17.02:1
AAAA largeAAA
On white1.23:1
AAAA largeAAA
On black17.02:1
AAAA largeAAA

Tints

Shades

Matching colors

Similar named colors

All color names →

Code

CSScolor: #FFE4B5;
Tailwindbg-[#ffe4b5]
SwiftUIColor(red: 1, green: 0.894, blue: 0.71)
AndroidColor.parseColor("#FFE4B5")
FlutterColor(0xFFFFE4B5)

Moccasin is a CSS named color (moccasin); the value follows W3C CSS Color Module Level 4.

Frequently asked questions

What is the hex code for moccasin?

Moccasin is #FFE4B5 in hex and rgb(255, 228, 181) in RGB.

What is moccasin in CMYK?

With the plain conversion formula it is cmyk(0, 11, 29, 0). For print, convert with your printer's ICC profile instead.

What text color works on moccasin?

Black text has the higher contrast at 17.02:1, which passes WCAG AA for normal text (4.5:1).