Khaki

#fff27d

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

This is Khaki, a vivid yellow at 54 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.

Khaki color values

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

Hex#fff27d
RGB255, 242, 125
HSL54, 100%, 75%
HSV54, 51%, 100%
CMYK0%, 5%, 51%, 0%
Lab94.42, -10.44, 57.39
XYZ76.69, 86.24, 32.01
Decimal16773757
Web safe#ffff66
Pantone100 C
Pantone100 CHex#fff27dRgb255 242 125Cmyk0 5 51 0Lab94 -10 57Darker#edd500Deep#ffeb36Lighter#fcf7c7

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 #fff27d 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 #fff27d straight into your stylesheet.

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

How khaki looks on light and dark

Khaki and accessibility

Contrast ratios for #fff27d 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.25:1
AA pass · AA large pass · AAA pass

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

Every value on this page for #fff27d is computed, not guessed. The rgb, hsl, hsv, cie-lab and xyz values follow the standard conversions from the sRGB color space. 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.