khaki

#F0E68C

CSS color

Khaki (#F0E68C) is a pale, warm yellow CSS named color that sits considerably lighter and more yellow than the military khaki most people envision—in CSS, khaki is essentially a pale gold-yellow. The name derives from the Urdu/Persian word for 'dust' or 'soil,' originally applied to the dust-colored uniforms of British colonial troops. It evokes warm light, aged paper, and gentle sunshine.

ค่าสี

HEX

#F0E68C

RGB

240, 230, 140

HSL

54.0, 76.9%, 74.5%

HSV

54.0, 41.7%, 94.1%

CMYK

0.0%, 4.2%, 41.7%, 5.9%

OKLCH

0.9135 0.1119 102.8

คุณสมบัติ

จิตวิทยาสี

Pale yellows and creams evoke sunlight, freshness, and intellectual clarity. They are the lightest chromatic colors the eye perceives, creating a sense of spaciousness and openness. Light yellow is often associated with new beginnings and gentle happiness.

Design Usage

Light yellows are excellent for background tints, highlight markers, and information callout boxes. They add warmth to white-dominated layouts without overwhelming the content hierarchy. Use them cautiously for text backgrounds since pale yellow on white creates poor contrast ratios.

ความกลมกลืนของสี

สีตรงข้าม

สีใกล้เคียง

สามสี

สีตรงข้ามแบบแยก

สี่สี

การจำลองตาบอดสี

การใช้งาน CSS

background-color: #F0E68C;
color: #F0E68C;
border-color: #F0E68C;
Tailwind ที่ใกล้เคียงที่สุด: Amber 200 #FDE68A

เฉดสี Tailwind

ตรวจสอบความเปรียบต่าง

ข้อความบนพื้นขาว

1.28:1

AA Fail AAA Fail

ข้อความบนพื้นดำ

16.4:1

AA Pass AAA Pass

เปรียบเทียบกับ

บทความที่เกี่ยวข้อง

คำถามที่พบบ่อย

What are the RGB, HSL, and CMYK values of #F0E68C?

RGB(240, 230, 140) · HSL(54.0, 76.9%, 74.5%) · CMYK(0.0%, 4.2%, 41.7%, 5.9%)

Does #F0E68C meet WCAG contrast on white?

1.28:1 — WCAG AA ไม่ผ่าน, AAA ไม่ผ่าน for normal text.

What text color is readable on #F0E68C?

Use 000000 text on a #F0E68C background; contrast on black is 16.4:1.