khaki
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://colorfyi.com/iframe/entity/F0E68C/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://colorfyi.com/color/F0E68C/
Add a dynamic SVG badge to your README or docs.
[](https://colorfyi.com/color/F0E68C/)
Use the native HTML custom element.
#F0E68C
CSS color
Overview
Khaki is a soft, dusty yellow, rgb(240, 230, 140) at hex #F0E68C, with red and green high and near-equal and blue much lower. The result is a 54-degree hue at moderate saturation and high brightness — a pale, muted tan. Khaki belongs to the extended CSS3 named colors and takes its name from the dust-colored military fabric. Its low chroma and warm cast give it an earthy, understated quality that works for natural palettes and neutral backgrounds where a plain grey would feel cold. CSS also defines a darkkhaki variant of the same family, and khaki's near-neutral warmth suits it to contexts where a plain grey would read as too cold or clinical.
Khaki (#F0E68C) is a pale, warm yellow CSS named color that sits considerably lighter and more yellow than the military khaki most people envision—in CSS, khaki is essentially a pale gold-yellow. The name derives from the Urdu/Persian word for 'dust' or 'soil,' originally applied to the dust-colored uniforms of British colonial troops. It evokes warm light, aged paper, and gentle sunshine.
On this page
Color Values
#F0E68C
240, 230, 140
54.0, 76.9%, 74.5%
54.0, 41.7%, 94.1%
0.0%, 4.2%, 41.7%, 5.9%
0.9135 0.1119 102.8
Properties
Color Psychology
Pale yellows and creams evoke sunlight, freshness, and intellectual clarity. They are the lightest chromatic colors the eye perceives, creating a sense of spaciousness and openness. Light yellow is often associated with new beginnings and gentle happiness.
Design Usage
Light yellows are excellent for background tints, highlight markers, and information callout boxes. They add warmth to white-dominated layouts without overwhelming the content hierarchy. Use them cautiously for text backgrounds since pale yellow on white creates poor contrast ratios.
Color Harmonies
Color Blindness Simulation
CSS Usage
background-color: #F0E68C;
color: #F0E68C;
border-color: #F0E68C;
Amber 200
#FDE68A
Tailwind Shades
Contrast Checker
Text on white
1.28:1
Text on black
16.4:1
Compare With
Related Articles
Frequently Asked Questions
What are the RGB, HSL, and CMYK values of #F0E68C?
RGB(240, 230, 140) · HSL(54.0, 76.9%, 74.5%) · CMYK(0.0%, 4.2%, 41.7%, 5.9%)
Does #F0E68C meet WCAG contrast on white?
1.28:1 — WCAG AA Fail, AAA Fail for normal text.
What text color is readable on #F0E68C?
Use 000000 text on a #F0E68C background; contrast on black is 16.4:1.