Skip to content
  • No data uploaded
  • Instant results

Khaki — #F0E68C

Khaki is the CSS named colour khaki, hex #F0E68C. It has a contrast ratio of 1.28:1 on white and 16.40:1 on black — best used as text on dark backgrounds.

Khaki — #F0E68C

Contrast on white 1.28:1 · on black 16.40:1

Tints
Shades
Complementary
Triadic
Analogous

Free Khaki — #F0E68C by pGento

Using Khaki in code

CSS: color: khaki; or color: #F0E68C; · Tailwind: text-[#F0E68C] · Android/Flutter: 0xFFF0E68C

Khaki colour harmonies

Complementary: #8C96F0 · Triadic: #8CF0E6, #E68CF0 · Analogous: #F0B48C, #C8F08C. Use tints for backgrounds and shades for hover states.

Khaki in every colour format

FormatValue
HEX#F0E68C
RGBrgb(240, 230, 140)
HSLhsl(54, 77%, 75%)
HSVhsv(54, 42%, 94%)
CMYKcmyk(0%, 4%, 42%, 6%)
CSS namekhaki
Contrast on white1.28:1
Contrast on black16.40:1

Frequently asked questions

What is the hex code for Khaki?
#F0E68C (CSS name: khaki).
What is Khaki in RGB?
rgb(240, 230, 140)
What colour goes well with Khaki?
Its complementary colour #8C96F0, or the analogous #F0B48C and #C8F08C.
Khaki — #F0E68C

Embed this tool on your site

Paste this code into any web page. It stays free, fast and ad-free inside your site.

Print or save as PDF

Prints just this tool and its result. Choose “Save as PDF” as the printer to get a file. Branding is stored only in this browser.