Skip to content
PantoneTools
yellow
X11 named colors

Khaki2

khaki2 · #EEE685

HEX

#EEE685

RGB

rgb(238, 230, 133)

CMYK

cmyk(0%, 3%, 44%, 7%)

HSL

hsl(55, 76%, 73%)

LAB

lab(90.1, -10.5, 48.0)

What is Khaki2?

Khaki2 is the khaki2 reference in the X11 named colors. Its sRGB value is #EEE685 (rgb 238, 230, 133). It sits in the yellow family. Historical X Window System color names — the numbered 1-4 lightness variants of the classic xorg-server rgb.txt palette. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Khaki2 as a background.

Black text on this color

Sample text · 16.29 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.29 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Khaki2

An 11-step tonal scale derived from Khaki2 (#EEE685). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #FEFDF5

50

#FEFDF5

#FEFDF5

Copied #FCFBEB

100

#FCFBEB

#FCFBEB

Copied #FAF7D8

200

#FAF7D8

#FAF7D8

Copied #F7F3C2

300

#F7F3C2

#F7F3C2

Copied #F2ECA4

400

#F2ECA4

#F2ECA4

Copied #EEE685

500

#EEE685

#EEE685

Copied #CAC471

600

#CAC471

#CAC471

Copied #9B9656

700

#9B9656

#9B9656

Copied #6B683C

800

#6B683C

#6B683C

Copied #3C3A21

900

#3C3A21

#3C3A21

Copied #1D1C10

950

#1D1C10

#1D1C10

Lighter tints (mixed with white)

Copied #F1EAA0

15%

#F1EAA0

Copied #F3EEB5

30%

#F3EEB5

Copied #F6F2C8

45%

#F6F2C8

Copied #F8F5D9

60%

#F8F5D9

Copied #FBF9E8

75%

#FBF9E8

Darker shades (mixed with black)

Copied #DDD67B

15%

#DDD67B

Copied #CBC471

30%

#CBC471

Copied #B6B065

45%

#B6B065

Copied #9E9956

60%

#9E9956

Copied #7F7B44

75%

#7F7B44

Color harmonies for Khaki2

Classic color-theory harmonies derived from rotating the hue of Khaki2. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #EEE685

#EEE685

#EEE685

Copied #868FEE

#868FEE

#868FEE

Triadic

Three colors 120° apart

Copied #EEE685

#EEE685

#EEE685

Copied #86EEE6

#86EEE6

#86EEE6

Copied #E686EE

#E686EE

#E686EE

Analogous

Two neighbors ±30° on the wheel

Copied #EEB186

#EEB186

#EEB186

Copied #EEE685

#EEE685

#EEE685

Copied #C3EE86

#C3EE86

#C3EE86

Split-complementary

Base + two colors flanking its complement

Copied #EEE685

#EEE685

#EEE685

Copied #86C3EE

#86C3EE

#86C3EE

Copied #B186EE

#B186EE

#B186EE

Tetradic

Two complementary pairs

Copied #EEE685

#EEE685

#EEE685

Copied #8FEE86

#8FEE86

#8FEE86

Copied #868FEE

#868FEE

#868FEE

Copied #E686EE

#E686EE

#E686EE

Square

Four colors evenly spaced 90° apart

Copied #EEE685

#EEE685

#EEE685

Copied #86EEB1

#86EEB1

#86EEB1

Copied #868FEE

#868FEE

#868FEE

Copied #EE86C3

#EE86C3

#EE86C3

Khaki2 in every color space

Full conversion of Khaki2 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#EEE685

RGB

rgb(238, 230, 133)

CMYK

cmyk(0%, 3%, 44%, 7%)

HSL

hsl(55, 76%, 73%)

HSV

hsv(55, 44%, 93%)

HWB

hwb(55 52% 7%)

CIE Lab

lab(90.1 -10.5 48.0)

OKLCH

oklch(91.1% 0.119 104.4)

XYZ (D65)

xyz(67.79, 76.47, 33.37)

Copy-ready code for Khaki2

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #EEE685;
background-color: #EEE685;

CSS variable

:root {
  --color-khaki2: #EEE685;
}

Tailwind config

// tailwind.config.js
colors: {
  'khaki2': '#EEE685',
}

Sass

$color-khaki2: #EEE685;

Swift UIColor

UIColor(red: 0.933, green: 0.902, blue: 0.522, alpha: 1.0)

Android XML

<color name="khaki2">#EEE685</color>

Closest match in every color system

The nearest Khaki2 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in X11 named colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #E6D690

RAL 1015

#E6D690

Light ivory

Copied #E1CC4F

RAL 1014

#E1CC4F

Ivory

Copied #F8F32B

RAL 1018

#F8F32B

Zinc yellow

Copied #F3DA0B

RAL 1021

#F3DA0B

Rape yellow

Copied #F5D033

RAL 1017

#F5D033

Saffron yellow

Copied #BEBD7F

RAL 1000

#BEBD7F

Green beige

FAQ about Khaki2

What is the HEX code for Khaki2?

Khaki2 (khaki2) has the HEX code #EEE685. In RGB it is rgb(238, 230, 133), and in CMYK it is cmyk(0%, 3%, 44%, 7%).

What is the OKLCH value of Khaki2?

Khaki2 converts to oklch(0.911 0.119 104.4). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Khaki2 accessible for body text?

Used as a background, Khaki2 has a contrast ratio of 16.29:1 with black text and 1.29:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Khaki2?

The closest Pantone reference to Khaki2 by ΔE2000 perceptual distance is Pantone 100 C (#F4ED7C). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Khaki2?

The closest RAL Classic reference to Khaki2 by ΔE2000 distance is RAL 1015 (Light ivory, #E6D690). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Khaki2?

The complementary color (180° opposite on the HSL color wheel) of Khaki2 is #868FEE. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

X11 named colors (xorg rgb.txt)

The historical X11 color name list shipped in the xorg-server rgb.txt file. Roughly 550 entries covering classic computing color names like 'PapayaWhip', 'MediumAquamarine', and 'DarkSlateGray'. Many CSS named colors originate here. Use as a reference for legacy and creative color names. Most modern CSS implementations accept these names directly.

Source type
derived
Confidence
high
License
MIT/X11 license (X Consortium)
Last reviewed
2026-05-24

Workflow tags

x11
named-color
legacy
yellow

X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.

X11 named colors · Khaki2 — #EEE685 | PantoneTools