Yellow color

Khaki #F0E68C

#F0E68C · rgb(240, 230, 140)

Khaki is the color #F0E68C. In RGB it is rgb(240, 230, 140) — 94% red, 90% green and 55% blue. Its CMYK breakdown is 0% cyan, 4% magenta, 42% yellow and 6% black, and in HSL it sits at 54° hue, 77% saturation and 75% lightness. Khaki is one of the 140 standard CSS / HTML color names, so color: khaki works in CSS. The closest web-safe color is #FFFF99.

Khaki color codes

Hex#F0E68C
RGBrgb(240, 230, 140)
RGB %94%, 90%, 55%
HSLhsl(54, 77%, 75%)
HSV / HSBhsv(54, 42%, 94%)
CMYKcmyk(0%, 4%, 42%, 6%)
OKLCHoklch(91% 0.112 103)
Closest web-safe#FFFF99

Khaki color meaning

Khaki is a bold and energetic yellow — a warm color at 75% lightness and 77% saturation. Like other yellows, it is linked with optimism, happiness and attention. It is the most visible hue in daylight, so it reads as sunny and cheerful but can tire the eye in large areas.

Because it is bold and energetic, khaki works best for logos, buttons, highlights, sports kit and anything that should grab attention. As text on white it would be too faint (1.3:1), so use it for fills and backgrounds and put black text on top (16.4:1).

What colors go with Khaki?

Khaki pairs well with Cornflower Blue, Burly Wood, Pale Green and Charcoal: Cornflower Blue sits close to its opposite on the color wheel for strong contrast, Burly Wood and Pale Green are neighbors that keep a scheme calm, and Charcoal gives the eye somewhere to rest.

Build a full scheme around khaki in the color matcher, blend it with another color in the color mixer, or copy ready-made HTML and CSS from the HTML color picker.

Khaki at a glance

Color familyYellow · warm, bold and energetic
CSS color nameYes — khaki works in CSS
As text on white1.28:1 — not readable as text
Best text on itBlack (16.40:1)
For print (CMYK)0% cyan, 4% magenta, 42% yellow, 6% black
Full screenOpen the khaki screen — fill your display or download it in 4K

Contrast

Contrast ratio of Khaki against white and black text (WCAG 2.1 needs 4.5:1 for body text).

White text — 1.28:1 Black text — 16.40:1

Shades, tints & tones

Shades — toward black
Tints — toward white
Tones — toward gray

Color harmonies

Complementary
Analogous
Split-complementary
Triadic
Tetradic
Square
Rainbow

Colors similar to Khaki

Khaki color FAQ

What is the hex code for Khaki?

Khaki is #F0E68C, which is rgb(240, 230, 140) and hsl(54, 77%, 75%). For print it is roughly C0 M4 Y42 K6.

What colors go with Khaki?

Khaki pairs well with Cornflower Blue, Burly Wood, Pale Green, Charcoal. Cornflower Blue gives the strongest contrast, being close to its complementary color. Neutrals such as Charcoal also work well alongside it.

Is Khaki a warm or cool color?

Khaki is a warm color: its hue is 54°, on the red, orange and yellow side of the color wheel.

What text color looks best on Khaki?

Black text, with a contrast ratio of 16.4:1, which meets WCAG AA for normal text.