Nature and earth tones
Khaki hex code #f0e68c
Khaki is #f0e68c: the colour of canvas that has been outside for a year.
Designed Palettes
The base screen reference for this page is #f0e68c. The interactive palette below adds lighter, darker and contrasting options; the text guide further down records concrete HEX values in the server-rendered HTML.
Color Harmonies
Harmony suggestions are calculated from #f0e68c. The server-rendered guide below lists analogous, complementary and triadic starting values so the page remains useful before JavaScript runs.
Visual Studio
Preview #f0e68c in interface, interior and fashion contexts. Material, lighting and display conditions can change how the same nominal color appears, so use these scenes as design previews rather than physical color proofs.
*Simulated preview. Actual appearance may vary by material.
Accessibility & Design Safety
The guide below records the calculated contrast of #f0e68c against black and white, including whether each combination reaches the WCAG AA 4.5:1 threshold for normal text.
WCAG 2.1 Contrast
* WCAG AA requires 4.5:1 for normal text. AAA requires 7:1. Large text requires 3:1.
Color Blindness Simulation
Designed palettes for Khaki
#F0E68C is a light, high-saturation color. A practical five-color working set is #F0E68C as the anchor, #F4EDAC for a lighter surface, #B4AD69 for a deeper surface, #818CEF as a contrasting accent, and #F7F7F5 as a quiet neutral. This is a screen-oriented palette built from the recorded RGB value. Use the lighter value for large areas, the darker value for borders or dense controls, and keep the complementary accent small so the base shade remains recognizable.
Color harmonies
For an analogous scheme, try #F0B48C, #F0E68C, and #C8F08C. For stronger separation, #818CEF is the computed opposite-hue partner. A triadic starting point is #F0E68C, #8CF0E6, and #E68CF0. These values are design starting points rather than pigment formulas: monitors, paper, fabric, paint and compressed photographs can shift the same nominal color differently.
Accessibility and text contrast
Against white, #F0E68C has an approximate WCAG contrast ratio of 1.28:1 and does not pass the 4.5:1 AA threshold for normal text. Against black, the ratio is 16.40:1 and passes that threshold. Of those two simple choices, black text gives the stronger contrast at about 16.40:1. Test the actual font size and weight in the finished interface because contrast is only one part of readability.
Using Khaki in a real interface
Start by deciding whether Khaki is a surface color or an accent. Because this value is light and high-saturation, surrounding neutrals should give it room instead of competing with it. On buttons and status chips, test the black-text combination first. On large panels, use #F4EDAC when the full #F0E68C feels too heavy. For charts or comparison controls, place #818CEF or an analogous color beside it and verify the difference at the size users will actually see. Do not rely on hue alone for success, warning, or selection states; pair color with text, icons, or shape.
Reading Khaki from a photograph
A photograph rarely records a material color as one flat RGB value. Directional light creates highlights and shadows, cameras apply white balance and tone mapping, and compression can move edge pixels. Sample several pixels from a well-lit central area rather than a reflection or deep shadow. Open the image color picker to inspect the exact pixel, use palette from image when the object contains several important tones, and use color code from image when you need several color notations together.
Screen, print, and material differences
#F0E68C is an sRGB screen reference. A printer converts that RGB target through its own profile, inks, paper and rendering settings, so a browser CMYK conversion is only a starting reference. Fabric dye, ceramic glaze, paint and illuminated displays also reflect or emit light differently. For production work, compare a physical proof under the lighting where the item will be used. For web work, keep the sRGB value as the source of truth and test it on more than one display, especially when Khaki is used for small text or a subtle boundary.
What Khaki is
卡其色. #f0e68c is a pale, yellow-leaning neutral — sand with green in it.
Using it
It is a background and highlight colour that takes dark type. Too much of it looks like a spreadsheet from 1998, so use it as an accent rather than a base.