Gradient Page

#F0E68C

#F0E68C is the HEX color code for
Khaki
#F0E68C

Khaki

Contrast
Light
Luminance
87%
Color Conversions
Formats for Khaki (#F0E68C) in various color spaces.
#F0E68C
240, 230, 140
54°, 77%, 75%
0%, 4%, 42%, 6%
0.913, 0.112, 102.8
--color-khaki: #F0E68C;

Shades & Tints

#fcfae8
#f6f0bb
#f0e78e
#eadd61
#e5d334
#cbb91a
#9e9015
#71670f
#443e09
#171503
DarkestBaseLightest

Color Harmonies

Complementary

#F0E68C
#8e98f0

Analogous

#f0b58e
#F0E68C
#c9f08e

Triadic

#F0E68C
#8ef0e7
#e78ef0

Split Complementary

#F0E68C
#8ec9f0
#b58ef0

UI Component Examples

See how #F0E68C looks when applied to real interface components.

Interactive Elements
Surface & Accent
Pro Tip!

Use lighter tints for backgrounds to maintain readability while keeping brand identity.

Status Indicator
Active
# CSS Variables
Copy-paste these variables into your global CSS to use this palette instantly.
:root {
  /* Khaki Base */
  --color-primary: #F0E68C;
  --color-primary-rgb: 240 230 140;
  --color-primary-hsl: 54 77% 75%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #000000;

  /* Shades */
  --color-primary-50:  #fcfae8;
  --color-primary-100: #f6f0bb;
  --color-primary-200: #f0e78e;
  --color-primary-300: #eadd61;
  --color-primary-400: #e5d334;
  --color-primary-500: #cbb91a;
  --color-primary-600: #9e9015;
  --color-primary-700: #71670f;
  --color-primary-800: #443e09;
  --color-primary-900: #171503;
}

Want more?

We hope you enjoyed this color. Keep reading for more amazing colorful content for developers, designers and creators!
View our entire collection of UI gradientsView all our color names
#F0E68C Hex Color | Khaki sl | UI Color Scheme Generator