Khaki

A balanced yellow color

MediumVibrant
RGB240, 230, 140
HSL54°, 77%, 75%
CMYK0%, 4%, 42%, 6%
Preview in ToolGenerate PaletteCheck Contrast

About Khaki

Khaki is a balanced yellow color that evokes a versatile feeling. With a hex value of #F0E68C, this color sits at 54° on the color wheel with 77% saturation and 75% lightness.

This warm hue is associated with energy, passion, and enthusiasm. It's particularly effective for creating attention-grabbing designs and conveying urgency or importance. In web design, warm colors like Khaki are often used for CTAs, alerts, and accent elements.

Khaki works well for backgrounds and large design areas, as well as accents and highlights. When using Khaki in your designs, consider pairing it with complementary colors for optimal contrast and visual balance.

Khaki Shades

Light
Dark

Contrast on Khaki

Black text

Sample paragraph text

Ratio:16.40:1
AA Large PassAA Pass

Recommended for readability

White text

Sample paragraph text

Ratio:1.28:1
AA Large FailAA Fail

CSS Usage

UI Preview

Button

.btn-primary { background-color: #f0e68c; color: #000000; }

Badge

New Feature
.badge { background-color: #f0e68c; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #f0e68c; background-color: #f0e68c15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #f0e68c20; border-left: 4px solid #f0e68c; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #f0e68c; }

Similar Colors to Khaki

Color Combinations

Proven color harmonies that work well with Khaki

Complementary

#F0E68C
#8E98F0

Complementary colors sit opposite each other on the color wheel, creating maximum contrast and visual impact.

Best for: Call-to-action buttons, important highlights, and designs that need strong visual punch.

Analogous

#F0B58E
#F0E68C
#C9F08E

Analogous colors are adjacent on the color wheel, creating harmonious, cohesive palettes that feel naturally pleasing.

Best for: Brand identities, nature-inspired designs, and serene, professional interfaces.

Triadic

#F0E68C
#8EF0E7
#E78EF0

Triadic colors are evenly spaced around the color wheel, offering vibrant variety while maintaining visual balance.

Best for: Playful designs, creative projects, and interfaces that need visual interest without chaos.

Frequently Asked Questions

Common questions about Khaki color