Khaki Color: HEX, Variations, Mixing, and Uses
Khaki can look like sunlit straw on a screen, dusty brown in a pair of pants, or muted olive in military clothing, yet all three may carry the same name. The key is to treat khaki as a broad color family while using one clearly defined reference when exact digital values matter. That distinction makes it much easier to recognize, mix, combine, and reproduce khaki without expecting every material to match one swatch.
What Color Is Khaki?
Khaki is a muted color family that ranges from light olive-brown to moderate or light yellowish-brown. Some examples look like dusty tan, while others lean toward dull yellow or olive green. This flexible range is why khaki can behave like one of the neutral colors in a design even though it retains a noticeable yellow or green undertone.
Download the complete color reference sheet (PNG): Khaki and Nearby CSS Color References (PNG)
For digital work, the most dependable reference is the standardized CSS color keyword khaki. Its six-digit HEX value is #F0E68C, which resolves to RGB 240, 230, 140 in the sRGB color space.
| Name | HEX | RGB | Color |
|---|---|---|---|
| CSS Khaki reference | #F0E68C | 240, 230, 140 |
This table describes an encoded screen color, not a measured sample of fabric, dye, ink, or paint. A garment sold as khaki can be much browner or greener, and a physical mixture cannot be defined completely by a HEX code.
Khaki at a glance
- Controlling digital reference: CSS khaki
- HEX: #F0E68C
- RGB: 240, 230, 140
- General appearance: a light, muted yellow with earthy undertones
- Broader everyday range: light olive-brown through yellowish-brown
The standardized value is useful whenever code, files, or design specifications must agree. It does not make other brownish or greenish uses of the word incorrect. Those uses belong to the broader color family rather than to the CSS keyword.
Why khaki can look tan, yellow, brown, or green
Khaki occupies a broad region of muted yellow and olive-brown color. Lighter, yellower examples sit closer to Wheat in the comparison table, while browner examples approach Tan and greener examples approach Olive or Olive Drab.
These comparisons describe relative positions among exact digital swatches. A physical textile, paint, or printed sample still needs to be assessed in its own medium rather than inferred from a CSS name.
Which khaki HEX code should you use?
Use #F0E68C when you mean the CSS keyword, need a repeatable web value, or want a standards-based starting point. If you are matching a garment, brand palette, painted wall, or printed package, sample that particular object or follow its supplied specification. A vendor’s color called khaki may be a valid product color without being identical to CSS khaki.
This distinction explains why credible design tools can show different khaki codes. They may be choosing a representative shade from the broader family rather than defining the standardized CSS keyword. Always identify whether a value is standardized, measured from an object, supplied by a manufacturer, or simply selected as a descriptive design color.
Eight Digital Reference Colors Around Khaki
The following references are all standardized CSS named colors. Only Khaki and Dark Khaki are khaki-named keywords. The other six are comparison points that help locate a color’s yellow, brown, light, or green lean; they are not official khaki variants.

| Name | HEX | RGB | Color |
|---|---|---|---|
| CSS Khaki keyword | #F0E68C | 240, 230, 140 | |
| CSS Dark Khaki keyword | #BDB76B | 189, 183, 107 | |
| CSS Beige comparison | #F5F5DC | 245, 245, 220 | |
| CSS Burlywood comparison | #DEB887 | 222, 184, 135 | |
| CSS Olive comparison | #808000 | 128, 128, 0 | |
| CSS Olive Drab comparison | #6B8E23 | 107, 142, 35 | |
| CSS Tan comparison | #D2B48C | 210, 180, 140 | |
| CSS Wheat comparison | #F5DEB3 | 245, 222, 179 |
These swatches are calculated digital displays, not measured material samples. CSS color names are also an uneven collection rather than a perfectly ordered perceptual system, so their names should not be treated as a complete scientific taxonomy.
Khaki and dark khaki in CSS
CSS Dark Khaki, #BDB76B, is a more subdued olive-yellow than CSS Khaki. It is a separate named value, not an instruction to darken #F0E68C by an arbitrary percentage. When consistency matters, specify the complete HEX code rather than writing only “dark khaki.”
Dark Khaki can help with borders, secondary shapes, or lower-contrast layering around the lighter reference. Its standardized name does not mean that every dark military textile or brown khaki garment matches #BDB76B.
Six neighboring CSS colors for comparison
Beige is the palest and most neutral-looking comparison in the table. Wheat remains pale but appears warmer and more golden. Burlywood and Tan move toward brown, making them helpful references for clothing colors commonly described as khaki tan.
Olive and Olive Drab establish the greener edge. They are visibly darker and greener than CSS Khaki, so they help prevent a strongly green sample from being mislabeled as an exact match. A closer look at the olive green color family shows how wide that neighboring territory can be.
Khaki versus tan, beige, and olive
Tan provides a useful brown-leaning comparison, while Beige is paler and Olive is darker and greener. Everyday speech allows overlap among these families, but digital specifications do not: #F0E68C, #D2B48C, #F5F5DC, and #808000 are four distinct values.
To identify an unknown khaki, compare it in stages. First judge its lightness against Beige and Dark Khaki. Next decide whether its undertone sits closer to Tan or Olive. Finally, compare it with CSS Khaki. This produces a more useful description such as “dark, brown-leaning khaki” than a forced exact match to an unsuitable named color.
From Dust-Colored Cloth to Digital Khaki
The word has carried material and historical meanings much longer than it has described a web color. That background helps explain why a single digital square cannot represent every object called khaki.
A name rooted in dust
English adopted khaki through Urdu khaki, meaning dusty, from the Persian khak, meaning dust. The modern English color sense covers a range from light olive-brown to moderate or light yellowish-brown rather than one precisely measured hue.
The term also extends beyond color. It can refer to cloth, uniforms made from that cloth, and, especially in American usage, khaki pants. A request for “khakis” therefore usually concerns clothing, not CSS #F0E68C.
Khaki uniforms in British India
Khaki’s military history developed in the colonial setting of British India. The Corps of Guides, raised in 1846, is identified as the first Indian unit to adopt khaki uniform. Khaki dyeing spread more widely during the 1857 uprising, returned during the Second Afghan War, and became universal for troops in India from 1885.
By 1914, khaki service dress was being used for concealment as well as durability. This history created lasting associations with military clothing and practical workwear. Those associations come from particular institutions, garments, and periods; they are not universal emotional properties built into the color itself.
How cloth became a broad color family
The dictionary records khaki as a color, a cloth, a uniform, and, in American usage, a pair of pants. These related meanings help explain why the word does not identify one physical sample.
CSS later gave the name one exact sRGB value so browsers could render it consistently. That digital standard solves a coding problem. It does not retroactively standardize every khaki uniform, pair of pants, paint mixture, or printed patch.
How to Mix Khaki Paint
Begin with the target appearance rather than the HEX code. Decide whether you need a pale fabric khaki, a warm tan-khaki, a balanced muted yellow, or a cooler olive-khaki. An sRGB value defines a screen color, not a physical paint formula.

A flexible starting route
- Begin with a muted earth color such as yellow ochre.
- Add white gradually to raise the value toward the required lightness.
- Use a small warm or cool addition to adjust the mixture’s temperature.
- Make a labeled test swatch before adjusting the mixture again.
Yellow ochre and burnt sienna are naturally muted earth colors, which makes them practical starting points. If you need help understanding the brown side of the mixture, the guide to how to mix brown paint explains the broader principles behind brown mixtures.
Work in small steps because the effect of an addition depends on the particular paints being used. Keep notes on the paint names and approximate proportions so a successful test can be repeated.
How to make khaki warmer, cooler, or lighter
- Warmer: test a small addition of a muted warm earth color such as burnt sienna.
- Cooler: make a separate test with a small cool addition, then assess the result before adding more.
- Lighter: add white gradually to raise the value.
- Different target: start a separate test for a warm tan-khaki, balanced khaki, olive-khaki, or pale fabric-khaki instead of treating one mixture as definitive.
These are adjustable starting routes rather than fixed proportions. Pigment choice and the particular paint product affect the result, so label each test instead of relying on the color name alone.
Why a screen swatch is not a paint recipe
HEX #F0E68C specifies three encoded sRGB channels. It does not specify pigments or mixing proportions, so it cannot function as a paint recipe.
Record the paint names and approximate proportions, make a physical test swatch, and compare that swatch with the intended physical target. Use the digital value as a reference for screen-based work and the tested mixture as the specification for the painting process.
Colors That Go With Khaki
Khaki works well with subdued earth colors, pale neutrals, deep blues, and dark natural accents. The following palettes assign each color a job so that the combinations can guide an illustration, interface, room, or clothing arrangement. They expand on the logic behind earth-tone color palettes without treating aesthetic harmony as an accessibility guarantee.
Quiet earth-tone palette
| Name | HEX | RGB | Color |
|---|---|---|---|
| Quiet Earth dominant, CSS Khaki | #F0E68C | 240, 230, 140 | |
| Quiet Earth support, CSS Dark Khaki | #BDB76B | 189, 183, 107 | |
| Quiet Earth accent, Deep Brown | #3B3026 | 59, 48, 38 |
Use light khaki across the largest area, Dark Khaki for secondary blocks, and Deep Brown for fine details or decisive edges. The close relationship between the first two colors keeps the palette quiet, while the brown gives it enough visual weight to avoid looking washed out.
Khaki with deep blue
| Name | HEX | RGB | Color |
|---|---|---|---|
| Cool Contrast dominant, CSS Khaki | #F0E68C | 240, 230, 140 | |
| Cool Contrast support, Soft Cream | #F7F3E8 | 247, 243, 232 | |
| Cool Contrast accent, Deep Blue | #1F3552 | 31, 53, 82 |
Deep Blue creates a clear cool contrast without overwhelming khaki’s muted character. It can carry typography, outlines, or a smaller focal object while Soft Cream opens space around the main color. This is a designed contrast, not a claim that one blue is khaki’s single universal complement. Exact complementary color relationships depend on the color model and the selected khaki value.
Khaki with dark neutrals
| Name | HEX | RGB | Color |
|---|---|---|---|
| Utility dominant, Soft Cream | #F7F3E8 | 247, 243, 232 | |
| Utility support, CSS Dark Khaki | #BDB76B | 189, 183, 107 | |
| Utility accent, Charcoal | #2F312B | 47, 49, 43 |
This utility palette places Dark Khaki between a pale surface and a strong Charcoal accent. Soft Cream can carry the largest field, Dark Khaki can organize secondary areas, and Charcoal can define text, outlines, or compact focal details.
Using Khaki on Screens and in Print
A dependable khaki workflow starts by naming the medium. Screen code, process printing, textile dye, and mixed paint describe different ways of producing an appearance. Values can guide communication across those media, but they cannot guarantee an identical result.

Text contrast on khaki
WCAG 2.2 sets a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text under its Level AA minimum-contrast criterion. Large text is at least 18 point in regular weight or 14 point in bold, with equivalent sizing provisions for Chinese, Japanese, and Korean text.
Against CSS Khaki #F0E68C, black produces approximately 16.4:1 contrast, while white produces only about 1.3:1. Black therefore passes comfortably for normal text, but white fails even the large-text threshold. The Deep Blue and dark neutral accents above also provide much stronger separation than white.
Do not extend that result to every color called khaki. A darker green-brown background can produce very different ratios. Test the exact foreground and background values used in the finished interface, including text over gradients, images, hover states, and disabled controls.
Why khaki changes between screen and print
RGB displays create color additively with emitted red, green, and blue light. CMYK process printing works subtractively as inks absorb portions of reflected light. The two systems have different gamuts, meaning that they do not reproduce exactly the same range of colors.
A generic CMYK percentage for #F0E68C is therefore not a production specification. The result depends on the selected ICC profile, printer or press, ink, paper, and viewing conditions. Embed the correct profile, use soft proofing for the intended output condition, and request a physical proof when matching khaki matters.
The same caution applies to textiles. A monitor preview can communicate direction, but the final judgment should be made from an approved physical sample under suitable light.
Contextual meaning without universal color psychology
Khaki can suggest military clothing, field equipment, uniforms, workwear, or casual pants because those objects have used the color and name in identifiable historical settings. An outdoor brand may draw on those conventions, while a minimalist interior may use pale khaki simply as a warm near-neutral.
None of these associations proves that khaki creates the same emotion in every viewer. Culture, location, personal experience, material, and surrounding imagery shape the reading. For practical design, ask what the color is attached to and what conventions the intended audience is likely to recognize.
A useful final check has three parts: specify the exact digital value, describe its family position in plain language, and verify it in the destination medium. “#F0E68C, a light yellow khaki, approved from the printer proof” communicates far more than the color name alone.
Frequently Asked Questions
These concise answers distinguish the broad everyday color family from exact digital values and physical materials.
Is khaki green or brown?
It can lean either way. The everyday khaki family spans light olive-brown through yellowish-brown, while CSS Khaki #F0E68C looks like a light, muted yellow. Describe a particular sample as green-leaning, brown-leaning, or yellow-leaning when the distinction matters.
Are khaki and tan the same color?
No. They overlap in everyday clothing language, but they are not interchangeable digital specifications. CSS Khaki is #F0E68C, and CSS Tan is #D2B48C. Tan is the browner of those two screen references.
What is the HEX code for khaki?
The standardized CSS keyword khaki is #F0E68C, or RGB 240, 230, 140. Other codes labeled khaki may represent a vendor color, a measured object, or an editor’s choice from the broader khaki family.
Can a HEX code be used as a paint recipe?
No. A HEX code specifies an sRGB screen color, not pigments or mixing proportions. Use it as a visual target, then create physical test swatches with the actual paints intended for the work.
Megan is a writer and researcher who holds a degree in Social Sciences, with a specialization in Psychology and Environmental Science, from the University of Cape Town. Her dedication to acquiring knowledge and making a positive impact has driven her current work in promoting conscious and sustainable growth in Southern Africa. Megan’s interests encompass exploring the physical and psychological impacts of color in our environment on our mood and well-being. She is also passionate about the role of art and creativity, which has been an integral part of society since the beginning of human history. Since 2022, Megan has been contributing blog posts on painting and color theory at artfilemagazine.
Learn more about Megan van Schoor and about us.
Cite this Article
Megan, van Schoor, “Khaki Color: HEX, Variations, Mixing, and Uses.” artfilemagazine – Your Online Art Source. November 4, 2026. URL: https://artfilemagazine.com/khaki-color/
van Schoor, M. (2026, 4 November). Khaki Color: HEX, Variations, Mixing, and Uses. artfilemagazine – Your Online Art Source. https://artfilemagazine.com/khaki-color/
van Schoor, Megan. “Khaki Color: HEX, Variations, Mixing, and Uses.” artfilemagazine – Your Online Art Source, November 4, 2026. https://artfilemagazine.com/khaki-color/.



