Khaki

#fff27c

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

Khaki is a light yellow, open at this saturation. Yellows like this read optimistic and energetic. Pair it with dark neutrals so it stays legible, or with violet for a high energy scheme.

Khaki color values

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

Hex#fff27c
RGB255, 242, 124
HSL54, 100%, 74%
HSV54, 51%, 100%
CMYK0%, 5%, 51%, 0%
Lab94.41, -10.53, 57.84
XYZ76.63, 86.22, 31.67
Decimal16773756
Web safe#ffff66
Pantone100 C
Pantone100 CHex#fff27cRgb255 242 124Cmyk0 5 51 0Lab94 -11 58Darker#ecd500Deep#ffeb35Lighter#fcf7c6

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, 5, 51, 0.

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

Coated stockgloss or silk, C
0 5 51 0
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
4 9 51 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 #fff27c straight into your stylesheet.

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

How khaki looks on light and dark

Khaki and accessibility

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

Textwhite text on this color
1.15:1
AA fail · AA large fail · AAA fail
Textblack text on this color
18.24:1
AA pass · AA large pass · AAA pass

Use black text on this color for readable body copy. To test #fff27c 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 #fff27c 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 #fff27c 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

Here is how the numbers for #fff27c are worked out. 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.