Khaki Hex Code — #F0E68C
RGB, HSL, and CMYK values for Khaki.
Last updated: April 6, 2026
Khaki Color Values
| Format | Value |
|---|---|
| HEX | #F0E68C |
| RGB | rgb(240, 230, 140) |
| HSL | hsl(54, 77%, 75%) |
| CMYK | cmyk(0%, 4%, 42%, 6%) |
About Khaki
Color psychology: Reliability, nature.
Khaki (#F0E68C) is a light shade of yellow with a hue angle of 54° on the color wheel, 77% saturation, and 75% lightness. It's commonly used in web design, graphic design, and branding where reliability, nature are desired associations.
In color theory, Khaki sits in the warm section of the spectrum. Its high saturation makes it vivid and attention-grabbing — ideal for CTAs, headings, and brand accents.
When to Use Khaki in Design
Web Design
Use Khaki as a background color with dark text overlay. Light colors like this create open, airy layouts that reduce visual fatigue for content-heavy pages.
Branding & Logo
Khaki conveys reliability, nature — consider it for brands that want to project these qualities. Test it at small sizes (favicon, social avatar) to ensure it remains recognizable.
Print Design
Use the CMYK values (C:0% M:4% Y:42% K:6%) for accurate print reproduction in brochures, business cards, and packaging. Request a physical proof — screen colors often appear more vibrant than their printed equivalents.
UI / UX Design
Light colors like Khaki work well for card backgrounds, section dividers, and hover states. Pair with a darker variant for active/selected states.
How to Use Khaki in CSS
/* Using HEX */ color: #F0E68C; background-color: #F0E68C; /* Using RGB */ color: rgb(240, 230, 140); /* Using HSL — best for creating variations */ color: hsl(54, 77%, 75%); /* Transparent overlay (50% opacity) */ background-color: rgba(240, 230, 140, 0.5); /* Lighter variant for hover states */ background-color: hsl(54, 77%, 85%); /* Darker variant for active states */ background-color: hsl(54, 77%, 65%);
HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Khaki without changing its core hue or saturation.
Colors That Go With Khaki
Complementary
Analogous
Triadic
Similar Shades of Yellow
Frequently Asked Questions
What is the hex code for Khaki?
What is Khaki in RGB and when should I use RGB?
How to use Khaki in CSS with different color formats?
What is the HSL value of Khaki and why is HSL useful for designers?
What is the CMYK value of Khaki for print design?
What colors pair well with Khaki in design projects?
Is Khaki (#F0E68C) accessible for web design and WCAG compliant?
Was this page helpful?
Written by
Tamanna Tasnim
Senior Full Stack Developer
Full-stack developer with deep expertise in data formats, APIs, and developer tooling. Writes in-depth technical comparisons and conversion guides backed by hands-on engineering experience across modern web stacks.