gettoolz.app

Khaki color: #f0e68c

The CSS keyword khaki is #f0e68c, rgb(240, 230, 140) or hsl(54, 77%, 75%). Its codes to copy, 50–950 tint scale, harmonies and contrast on white and black.

Part of design tools.

CSS keywordkhaki
HEX#f0e68c
RGBrgb(240, 230, 140)
HSLhsl(54, 77%, 75%)
OKLCHoklch(91.3% 0.1119 102.83)

About Khaki

Khaki is a very light yellow. Its hue sits at 103° in OKLCH and 54° in HSL — the two wheels are spaced differently, which is why the numbers disagree.

The keyword khaki comes from the X Window System color list, which SVG 1.0 adopted and CSS Color Level 3 brought to every stylesheet.

Khaki tint scale, 50 to 950

50#f9f7df
100#f1edc9
200#dfdaa5
300#c8c17a
400#aea450
500#93882c
600#786e05
700#5c5400
800#423c00
900#2c2700
950#1c1900

Eleven steps at fixed perceived lightness, in OKLCH, holding khaki’s own hue from end to end. The keyword itself falls closest to step 200 (#dfdaa5), the one outlined; step 500 is #93882c.

Harmonies built on Khaki

Hue angles measured in OKLCH, so every accent keeps khaki’s perceived lightness. Its complement is #dee0ff, closest to the named color lavender.

Complementary

#f0e68c
#dee0ff

Analogous

#f0e68c
#c6f3a5
#ffdcb1

Triadic

#f0e68c
#b9ecff
#ffd4ed

Split-complementary

#f0e68c
#cfe5ff
#f0d8ff

Khaki on white and on black

khaki on white1.28:1 · Fail
khaki on black16.40:1 · AAA

Black text reads better on khaki (16.40:1). As a text color it belongs on a dark background: on white it only reaches 1.28:1, under the 4.5:1 that body text needs, while on black it reaches 16.40:1. AA asks 4.5:1 for body text and 3:1 for large text; AAA asks 7:1.

Named colors close to Khaki

Open khaki in the full tools

Or browse every named color from the color converter.