Khaki color #F0E68C
Khaki is one of the CSS named colors (keyword khaki) with the hex code #F0E68C — RGB 240, 230, 140, HSL 54°, 77%, 75%.
#F0E68CKhaki
Color codes
- HEX
#F0E68C- RGB
rgb(240, 230, 140)- HSL
hsl(54, 77%, 75%)- CMYK
0%, 4%, 42%, 6%- OKLCH
oklch(91.3% 0.112 102.8)- CSS keyword
khaki
Tints and shades
#FFF8B4#E8DE84#CDC369#B3A94F#9A8F34#817612#685F00#4F4800#383200#221E00#0E0B00
Color harmonies
Complementary
#F0E68C#DEDFFF
Analogous
#FFDCB0#F0E68C#C6F3A5
Triadic
#F0E68C#B8ECFF#FFD4ED
Split complementary
#F0E68C#CFE5FF#F0D8FF
Tetradic
#F0E68C#7EFAF7#DEDFFF#FFD7DA
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Khaki text on white | 1.28 : 1 | 14 | Fails for text |
| Khaki text on black | 16.40 : 1 | -90 | AAA — any text |
| White text on Khaki | 1.28 : 1 | -16 | Fails for text |
| Black text on Khaki | 16.40 : 1 | 90 | AAA — any text |
Palettes with this color
- Khaki & Dark Olive
- Water Blue & Light Tan
- Peacock Blue & Pale Peach
- Lilac & Grape
- Moss & Dark Slate Blue
- Muddy Brown & Light Tan
Frequently asked questions
What is the hex code of Khaki?
Khaki has the hex code #F0E68C, which is RGB 240, 230, 140 and HSL 54°, 77%, 75%.
Which text color reads best on Khaki?
Black text: contrast 16.40 : 1 (white text: 1.28 : 1).
Which colors go well with Khaki?
Its complementary color is #DEDFFF; analogous colors are #FFDCB0 and #C6F3A5; a triadic set adds #B8ECFF and #FFD4ED.
Similar colors
- Sandy #F1DA7A
- Light Khaki #E6F2A2
- Pale Gold #FDDE6C
- Pale Goldenrod #EEE8AA
- Dark Cream #FFF39A
- Light Tan #FBEEAC
- Dull Yellow #EEDC5B
- Light Mustard #F7D560
- Navajo White #FFDEAD
- Moccasin #FFE4B5
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)