Khaki

#ffef9c

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

Khaki is a light yellow, relaxed at this saturation. Yellows like this read optimistic and energetic. Charcoal and navy give it the contrast it needs and purple across the wheel makes it pop.

Khaki color values

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

Hex#ffef9c
RGB255, 239, 156
HSL50, 100%, 81%
HSV50, 39%, 100%
CMYK0%, 6%, 39%, 0%
Lab94.05, -6.03, 42.09
XYZ78.11, 85.39, 43.82
Decimal16773020
Web safe#ffff99
Pantone127 C
Pantone127 CHex#ffef9cRgb255 239 156Cmyk0 6 39 0Lab94 -6 42Darker#ffd80dDeep#ffe355Lighter#fdf9e2

Shades of khaki

Tints of khaki

Colors that go with khaki

Khaki 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, 6, 39, 0.

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

Coated stockgloss or silk, C
0 6 39 0
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
4 10 40 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.

Khaki in css

Copy #ffef9c straight into your stylesheet.

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

How khaki looks on light and dark

Khaki and accessibility

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

Textwhite text on this color
1.16:1
AA fail · AA large fail · AAA fail
Textblack text on this color
18.08:1
AA pass · AA large pass · AAA pass

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

Khaki on a business card, sticker and pattern

A quick look at how #ffef9c 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 khaki? Pull matching colors from any photo with the color palette generator, or check a design for print with the rgb to cmyk converter.

Turn khaki into a seamless pattern

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

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

Open in pattern maker

How we calculate these values

The figures for #ffef9c come from standard color math, shown so you can check them. Rgb, hsl, hsv, lab and xyz are derived through the usual sRGB conversion formulas. Two cmyk builds are shown because coated and uncoated papers behave differently, uncoated soaks up ink and needs more of it to hit the same target. For Pantone we return the nearest reference by perceptual distance, which gets you close but is not a substitute for a physical swatch book.