HubLibraryColor PickerColor ConverterPalette GeneratorImage Color ExtractorContrast CheckerCSS Gradient GeneratorColor MixerRandom Color
Khaki color swatch #F0E68C
Khaki — #F0E68C

Color information

Khaki Color

#F0E68C

KDF-C-15787660

Codes & values

  • Color NameKhaki
  • Color IDKDF-C-15787660
  • HEX#F0E68C
  • RGBrgb(240, 230, 140)
  • RGBArgba(240, 230, 140, 1)
  • HSLhsl(54, 77%, 75%)
  • HSLAhsla(54, 77%, 75%, 1)
  • HSV / HSBhsv(54, 42%, 94%)
  • CMYKcmyk(0%, 4%, 42%, 6%)
  • Light / Darkmid

Closest named color

#F0E68C
Khaki

Nearest CSS named color to #F0E68C by RGB distance.

Shades

Matching schemes

Complementary, analogous, triadic, split complementary, and monochromatic.

Complementary

Analogous

Triadic

Split complementary

Tetradic

Monochromatic

Similar colors

#FFE082
Amber 200
#E6EE9C
Lime 200
#FFF59D
Yellow 200
#FDFD96
Pastel Yellow
#FFF176
Yellow 300
#EEE8AA
Pale Goldenrod
#DCE775
Lime 300
#FFCC80
Orange 200

Quick answers

What is the HEX code for Khaki?
#F0E68C
What is Khaki RGB?
rgb(240, 230, 140)
What is Khaki HSL?
hsl(54, 77%, 75%)
What is Khaki CMYK?
cmyk(0%, 4%, 42%, 6%)

What is Khaki?

Khaki is a curated yellow family color at #F0E68C. It appears in our library with tags for web, design, ui and matches the CSS named color keyword. This mid-range shade works as a primary brand or UI accent when contrast with text is verified. Temperature lean: warm — energetic, inviting, and closer to red/orange/yellow on the wheel..

Khaki HEX code

The HEX code for Khaki is #F0E68C. Paste it into CSS as color: #F0E68C; or background-color: #F0E68C;. Design tools accept the same six-digit value without the # prefix (f0e68c).

Khaki RGB

Khaki in RGB is rgb(240, 230, 140) (channels R 240, G 230, B 140). Use RGB when you need opacity via rgba(240, 230, 140, 1).

Khaki HSL & HSV

HSL is hsl(54, 77%, 75%) — useful for generating lighter/darker variants by adjusting lightness. HSV/HSB is hsv(54, 42%, 94%), closer to how many digital pickers expose hue, saturation, and brightness.

Khaki CMYK

Approximate CMYK for Khaki is cmyk(0%, 4%, 42%, 6%). Screen HEX/RGB values are device-dependent; for print, always soft-proof in your print profile rather than relying on a web conversion alone.

Shades of Khaki

Darker shades (mixed toward black): #C8C075, #A0995D, #787346, #504D2F, #282617. Use deeper shades for hover states, borders, and dark-mode accents.

Tints of Khaki

Lighter tints (mixed toward white): #F3EA9F, #F5EEB2, #F8F3C6, #FAF7D9, #FDFBEC. Tints work well for soft backgrounds, chips, and secondary buttons.

Colors that go with Khaki

Complementary pairing: #F0E68C, #8C96F0. Analogous neighbors: #F0B48C, #F0E68C, #C8F08C. Triadic accents: #F0E68C, #8CF0E6, #E68CF0. Always check text contrast when pairing.

Khaki color combinations

A practical combo: primary #F0E68C, complementary accent #8C96F0, and a neutral charcoal or off-white for text and surfaces. Split-complementary options: #F0E68C, #8CC8F0, #B48CF0.

Khaki in web design

Yellow highlights and warnings need careful contrast — prefer dark text on yellow, or use gold/amber variants for luxury without eye strain.

Khaki in branding

Gold and yellow brands feel optimistic or luxurious depending on saturation — champagne gold vs traffic yellow. Contrast vs white is 1.28:1 (better as a large accent or background than small body text); vs black 16.40:1.

Frequently asked questions

What is the HEX code for Khaki?
Khaki: #F0E68C.
What is Khaki RGB?
Khaki: rgb(240, 230, 140).
What is Khaki HSL?
Khaki: hsl(54, 77%, 75%).
What is Khaki CMYK?
Khaki: cmyk(0%, 4%, 42%, 6%).
What colors go with Khaki?
Try complementary #F0E68C, #8C96F0 or analogous #F0B48C, #F0E68C, #C8F08C.
Is Khaki good for text on white?
Not ideal for small body text (1.28:1). Use as a large heading, button, or background instead.

Accessibility snapshot

Contrast vs white: 1.28:1 (prefer large accent or background). Contrast vs black: 16.40:1. Complementary swatch: #F0E68C, #8C96F0.

Explore related

Related colors

Same family — open any page for codes and combinations.

#F5F5DC
Beige
#FFD700
Gold
#FFFFF0
Ivory
#808000
Olive
#FFFDD0
Cream
#FFDB58
Mustard
#CCFF00
Neon Yellow
#FFC107
Amber 500