
Codes & values
- Color Name
Khaki - Color ID
KDF-C-15787660 - HEX
#F0E68C - RGB
rgb(240, 230, 140) - RGBA
rgba(240, 230, 140, 1) - HSL
hsl(54, 77%, 75%) - HSLA
hsla(54, 77%, 75%, 1) - HSV / HSB
hsv(54, 42%, 94%) - CMYK
cmyk(0%, 4%, 42%, 6%) - Light / Dark
mid
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
Yellow colorsColor pickerPalette generatorContrast checkerColor guidesComplete Color Code GuideHow HEX Colors WorkHEX vs RGB vs CMYK