Moccasin

#ffecb2

Hex, rgb, cmyk and Pantone values for moccasin, with shades, tints, matching colors and free print quality patterns.

This is Moccasin, a vivid yellow at 45 degrees. Yellows like this read optimistic and energetic. Pair it with dark neutrals so it stays legible, or with violet for a high energy scheme.

Moccasin color values

Every conversion for #ffecb2, ready to copy. Hex, rgb, hsl, hsv, cmyk, cie-lab, xyz, decimal, web safe and the nearest Pantone.

Hex#ffecb2
RGB255, 236, 178
HSL45, 100%, 85%
HSV45, 30%, 100%
CMYK0%, 7%, 30%, 0%
Lab93.65, -1.99, 30.51
XYZ79.27, 84.47, 54.24
Decimal16772274
Web safe#ffff99
Pantone1205 C
Pantone1205 CHex#ffecb2Rgb255 236 178Cmyk0 7 30 0Lab94 -2 31Darker#ffc923Deep#ffda6bLighter#fdf7e2

Shades of moccasin

Tints of moccasin

Colors that go with moccasin

Moccasin in print

A color this vivid sometimes sits just outside cmyk gamut, so expect a small dip in punch on paper. The cmyk build is 0, 7, 30, 0.

The same color needs a different cmyk build depending on the paper. Here is #ffecb2 on both.

Coated stockgloss or silk, C
0 7 30 0
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
4 10 32 6
The stock absorbs ink and gains dot, so it needs a heavier build and reads a touch softer.

This color is saturated enough to sit near the edge of cmyk gamut, so expect a small drop in punch on paper and proof it before a long run.

See how it converts in the rgb to cmyk converter, or read rgb vs cmyk for print and what the k in cmyk means.

Moccasin in css

Copy #ffecb2 straight into your stylesheet.

.background { background-color: #ffecb2; }
.text { color: #ffecb2; }
.border { border: 2px solid #ffecb2; }

How moccasin looks on light and dark

Moccasin and accessibility

Contrast ratios for #ffecb2 against black and white text, measured to the WCAG standard.

Textwhite text on this color
1.17:1
AA fail · AA large fail · AAA fail
Textblack text on this color
17.89:1
AA pass · AA large pass · AAA pass

Use black text on this color for readable body copy. To test #ffecb2 against any other color, not just black and white, run the pair through our contrast checker for a live WCAG reading.

Moccasin on a business card, sticker and pattern

A quick look at how #ffecb2 sits on real print products. Start any of these in the maker.

Your nameFounderhello@brand.comBusiness card
Sticker
Repeat pattern

Building a full palette around moccasin? Pull matching colors from any photo with the color palette generator, or check a design for print with the rgb to cmyk converter.

Turn moccasin into a seamless pattern

Four patterns built from #ffecb2 and its shades, free at print quality. Click any one to keep editing in the pattern maker.

Make posters, wallpaper and packaging art from moccasin, free and print ready.

Open in pattern maker

How we calculate these values

Every value on this page for #ffecb2 is computed, not guessed. Rgb, hsl, hsv, lab and xyz are derived through the usual sRGB conversion formulas. The coated and uncoated cmyk builds differ because uncoated stock absorbs more ink and gains dot, so the same color needs a heavier, slightly duller build on press. For Pantone we return the nearest reference by perceptual distance, which gets you close but is not a substitute for a physical swatch book.