On this page
That is the khaki found on fabric swatches and in most color references. The web also has a second, very different “khaki” (a pale yellow), so the exact code matters. Below you will find every format, the close cousins, contrast ratios I calculated, CSS, print notes and ready palettes.
Khaki color codes: HEX, RGB, HSL and CMYK
Khaki sits at a hue of 37 degrees, in the orange-yellow part of the wheel, but with only 29% saturation. That low saturation is why it reads as a muted tan and not as orange. Red is the strongest channel (195), then green (176), then blue (145). The 50-point gap between red and blue keeps it warm.
| Format | Value |
|---|---|
| HEX | |
| RGB | rgb(195, 176, 145) |
| HSL | hsl(37, 29%, 67%) |
| HSV | hsv(37, 26%, 76%) |
| CMYK | 0%, 10%, 26%, 24% |
| Complement |
The CMYK line is the standard mathematical conversion from RGB. A real press, paper and ink profile will shift it a little, which I cover in the print section further down.
What color is khaki: tan, beige, brown or green?
Think of dry canvas, stone dust and cotton chinos. Khaki is a mid-light, warm neutral with a slight yellow-olive undertone. At 67% lightness it is clearly lighter than a true brown, but it has more weight and grit than beige.
The word covers more ground than a single hex code. In the US it usually means a light tan like . Historical accounts describe khaki as a range of cream, yellowish tan, light brown and grayish green, often called drab, in military use (National Geographic). So when someone calls a jacket khaki and it looks green to you, both of you can be right.
Khaki vs CSS khaki, dark khaki, tan and sand
This is where most people trip. The CSS keyword khaki is , a pale, lemony yellow. The keyword darkkhaki is , which leans olive. Dark khaki also matches RAL 7008 Khaki Gray in the RAL standard. Neither looks like the tan fabric most people picture.
You write color: khaki in a stylesheet. What do you actually get?
The CSS keyword khaki is a pale yellow, so for the tan you need to write the hex code #C3B091 yourself.
Closer neighbors are tan (), which is lighter and more orange, and sand (), which is nearly the same depth but yellower. Camel () is deeper and more orange-brown. If you want the fabric khaki on screen, write the hex code and skip the keyword.
Khaki shades and tints from light to dark
Mixing khaki with white or black in equal steps gives a dependable scale. I use it as a starting point for backgrounds, borders and text in a khaki-based interface. The hex codes below are straight mixes of with white or black.
- 25% white: , a soft card background
- 50% white: , a quiet page or section tint
- 75% white: , nearly paper
- 25% black: , a muted border or icon color
- 50% black: , a warm brown for headings
- 75% black: , a deep espresso for body text
Tinted this way, the scale stays in one family, so everything feels related without extra effort. If you want a smooth blend between the lightest tints, the beige gradient page has CSS you can adapt.
Where the word khaki comes from
The word is Hindi and Urdu, khākī, meaning “dust-colored,” from khāk, “dust,” which traces back to Persian. In the mid-19th century, units of the British Indian Army applied the word to the color of a uniform cloth. The first recorded English use is from 1856.
The practical idea came slightly earlier. Sir Harry Lumsden founded the Corps of Guides in India, and his second-in-command William Hodson said in 1848 that he would “make [the Guides] invisible in a land of dust.” Khaki then spread through the Boer War and both world wars, and by the 1950s khaki pants were a staple of campus wardrobes.
Khaki is the color. Chino is the lighter cotton twill most khaki pants are actually made from.
Colors that go with khaki
Khaki is a supporting neutral. It lets stronger colors lead while keeping a layout warm and grounded, so the best partners are either deep and clear or earthy and quiet.

Navy and blue
Blue is khaki’s natural opposite. The exact complement is , a dusty periwinkle-leaning blue, and a deep navy like gives the strongest contrast. For a navy to start from, see dark blue. It is the safest pairing for business sites and menswear.
Burgundy, rust and warm earth
Khaki and red-brown tones share a dry, sun-baked warmth. A wine shade like dark burgundy adds richness, and the orange and brown combinations show how rust and clay sit beside a sandy neutral.
Greens, creams and charcoal
Olive () and sage () make khaki feel like a natural, outdoorsy scheme. A warm cream such as pearl white lifts it, and charcoal gives crisp text and trim without the hardness of pure black.
Khaki color palettes you can copy
The palette maker at the top of this page builds monochrome, analogous, complementary, triadic and split palettes from , each with copyable HEX, RGB and HSL codes. The ready-made sets below cover the combinations I reach for most often.
Outdoor brands, canvas goods and rugged landing pages with an earthy feel.
Clean business sites, menswear lookbooks and calm app interfaces with strong contrast.
Interiors, wedding stationery and minimal portfolios built from soft warm tones.
Cafe menus, packaging and editorial layouts that want depth without brightness.
Each one keeps khaki as the anchor and adds one dark color for text, one light color for space, and one accent. That structure (anchor, dark, light, accent) stops a neutral-heavy palette from going flat. Swap the accent for a different color and you get a new mood in minutes.
Using khaki in web and UI design
Khaki works best as a surface, not as a button or link color. It makes a gentle background for cards, banners and sections, and it pairs naturally with dark text. As a brand accent it can feel too quiet to draw the eye, so give calls to action a stronger color like navy or rust.

Here is a small set of CSS variables built from the scale above:
:root {
--khaki: #C3B091;
--khaki-tint: #E1D8C8;
--khaki-deep: #625849;
--ink: #333333;
}
.banner {
background: var(--khaki);
color: var(--ink);
}
.card {
background: var(--khaki-tint);
border: 1px solid var(--khaki-deep);
}
Remember that color: khaki will not give you this tone, since the keyword maps to the pale yellow. Always use the hex or a variable.
Khaki contrast and WCAG: which text colors work
I calculated these ratios from the relative luminance of , which is about 0.49. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text, with 7:1 as the stricter AAA level.
- Black (): about 10.8:1, passes AA and AAA
- Navy (): about 8.2:1, passes AA and AAA
- Charcoal (): about 6.5:1, passes AA, just short of AAA
- White (): about 1.9:1, fails everything
White-on-khaki is the trap. I once fixed a client’s checkout button where a white label sat on a khaki fill and looked fine on a good monitor. Switching the label to took it from unreadable in sunlight to comfortably legible without changing the brand color. The same rule applies to borders: khaki against a white page is about 1.9:1, so a khaki outline will not meet the 3:1 needed for form fields. Use a darker edge such as .
Which text color is safest on a #C3B091 background?
Khaki is a mid-light color, so dark text clears WCAG easily while white lands at only about 1.9:1.
Khaki in branding, interiors and fashion
Branding and packaging
Khaki signals practical, dependable and outdoors. It suits workwear, travel, tools, coffee, craft goods and sustainable products, where a bright palette would feel out of place. Paired with a single bold accent, it can look premium, and a touch of light gold in foil or trim adds warmth without shouting.
Interiors and fashion
On walls, khaki acts like a warm greige. It shifts with the light: north-facing rooms can pull it greener, while warm evening bulbs push it toward gold. In clothing it is a reliable base for chinos, trench coats, utility jackets and linen, and it flatters navy, white, olive and burgundy equally well.
Try this: Tape a khaki swatch next to a cream one on the wall you plan to paint. Look at both at 9 a.m. and again under evening lamps, and note whether the khaki turns greener, pinker or more golden.
Printing khaki: CMYK, paper and proofing
The CMYK recipe of 0, 10, 26 and 24 is a starting point, not a promise. Because khaki is low in saturation, small changes in ink, stock or profile move it visibly toward green, gray or brown. I once approved a khaki packaging sleeve on screen and the uncoated proof came back duller and slightly greener than expected.
To avoid surprises, request a physical proof on the real paper, and ask your printer whether a spot color match would hold the tone better than four-color process. Keep khaki away from yellowish whites in the same layout, because they exaggerate its gray undertone. Coated stock keeps it livelier, while uncoated stock mutes it into something closer to kraft.
Colors close to khaki
Khaki Color: questions people ask
What is the hex code for khaki?
The hex code for khaki is #C3B091, which is rgb(195, 176, 145) and hsl(37, 29%, 67%). The CSS keyword khaki is a different, much paler yellow (#F0E68C), so use the hex code when you want the tan fabric color.
Is khaki green or brown?
In most design and fashion use, khaki is a light brown or tan with a faint yellow-olive cast. Military and UK usage sometimes stretches the word to greener, drab shades, which is why one khaki jacket can look noticeably greener than another.
What is the difference between khaki and CSS khaki?
Khaki as a fabric and paint color is #C3B091, a grayish tan. The CSS named color khaki is #F0E68C, a pale yellow, and darkkhaki is #BDB76B, an olive-leaning tone. Typing the word khaki in a stylesheet will not give you the tan.
What is the difference between khaki, beige and tan?
Beige is lighter and closer to neutral, tan is a bit more orange and saturated, and khaki sits between them with a grayer, slightly yellow-green undertone. Khaki at #C3B091 is darker and duller than beige (#F5F5DC) and calmer than tan (#D2B48C).
What colors go with khaki?
Navy and soft blues are the classic partners, with #91A4C3 as the exact complement. Burgundy, rust, olive, sage, cream and charcoal also work well, because they either contrast cleanly or share khaki's earthy warmth.
Keep exploring
- Honey Blonde Color: Hex Code, RGB and Palettes
- Light Green Color: Hex Code, RGB and Palettes
- Lavender Color: Hex Code, RGB and Palettes
- Mint Green Color: Hex Code, RGB and Palettes
- Cream Color: Hex Code, RGB and Palettes
- Azure Blue Color: Hex Code, RGB and Palettes
- Pink and Purple Color Combination: Palettes and Hex Codes
- Skin Tone Hex Codes: Realistic Skin Color Palettes