EN

Khaki Color #F0E68C

Khaki · #F0E68C

Khaki color codes

HEX#F0E68C
RGBrgb(240, 230, 140)
HSLhsl(54, 76.9%, 74.5%)
HSVhsv(54, 41.7%, 94.1%)
OKLCHoklch(0.913 0.112 102.8)
CSS--khaki: #F0E68C;

Black text is the readable choice on Khaki: 16.40:1.

About the name khaki

From Hindustani khaki, "soil-colored", from Persian khak (soil); used as an English color name since 1848, when it was introduced for military uniforms. (Wikipedia)

Khaki is a CSS named color: you can write khaki instead of #F0E68C in any stylesheet. The name has no single standard value; the value shown here is the most widely cited one.

Other common values for this name
Khaki (A Dictionary of Color, Maerz and Paul)#C3B091

Khaki shades and tints

Click a swatch to copy it. The middle swatch is the base color; steps are even in OKLCH lightness.

Colors that go with khaki

Complementary#8C96F0What are complementary colors?
Analogous#F0B48C · #C8F08CWhat are analogous colors?
Split complementary#8CC8F0 · #B48CF0What are split complementary colors?
Triadic#8CF0E6 · #E68CF0What are triadic colors?

Text contrast on khaki

Aa KhakiOn white: 1.28:1AA Fail
Aa KhakiOn black: 16.40:1AA Pass
Aa Black text16.40:1AA Pass

Check other pairs in the contrast checker

Khaki color palettes

Complementary palette
Analogous palette
Monochromatic palette
Triadic palette

From our palette collections

Khaki gradients

background: linear-gradient(135deg, #F7F3CE 0%, #F0E68C 100%);
background: linear-gradient(90deg, #F0E68C 0%, #C8F08C 100%);
background: linear-gradient(135deg, #F0E68C 0%, #8C96F0 100%);

Khaki in CSS

:root {
  --khaki: #F0E68C;
  --khaki-rgb: 240, 230, 140;
}

.button {
  background: var(--khaki);
  color: #000000; /* 16.40:1 */
}

Tailwind: bg-[#F0E68C] · text-[#F0E68C]

Colors similar to khaki

All shades of brown →

Frequently asked questions

What is the hex code for khaki?

Khaki is #F0E68C (the CSS color name khaki). In RGB it is rgb(240, 230, 140) and in HSL hsl(54, 76.9%, 74.5%). The name has no single standard value; other common values are listed above.

What colors go with khaki?

On the color wheel, khaki (#F0E68C) pairs with its complement #8C96F0, its analogous colors #F0B48C and #C8F08C, and the triadic colors #8CF0E6 and #E68CF0. Lighter tints and darker shades of khaki itself also make an easy monochromatic scheme.

What text color works on khaki?

Black text is the readable choice on Khaki: 16.40:1. Khaki text on white is 1.28:1 (fails WCAG AA for normal text) and on black 16.40:1 (passes).

What is the RGB value of khaki?

Khaki (#F0E68C) is red 240, green 230 and blue 140: rgb(240, 230, 140).

Sources

  • W3C, CSS Color Module Level 4: named colors
  • Wikipedia, Khaki (revision 1379363596); text adapted under CC BY-SA 4.0
  • Cross-checked: Wikipedia 'List of colors: G–M' (rev 1382249612), entry 'Khaki (X11) (Light khaki)'
  • RGB, HSL, OKLCH, shades, harmonies and contrast are computed with SwatchNest's tested color library. Updated 2026-11-24