Khaki
#F0E68C
Khaki is a yellow tone at #F0E68C. It sits at 54 degrees on the color wheel with 77% saturation and 75% lightness.
Color values
#F0E68C
Khaki is a yellow tone at #F0E68C. It sits at 54 degrees on the color wheel with 77% saturation and 75% lightness.
Color values
Tints mix Khaki with white, shades mix it with black. Use the light end for backgrounds and the dark end for text that has to stay readable.
On white1.28:1
Fails WCAG for textOn black16.4:1
Passes AAA for body textCheck a specific pairing in the contrast checker.
4 questions people ask about Khaki.
The hex code for Khaki is #F0E68C. In RGB that is rgb(240, 230, 140), and in HSL it is hsl(54, 77%, 75%).
Khaki is 240 red, 230 green, and 140 blue, written as rgb(240, 230, 140).
Khaki scores 1.28:1 against white. WCAG AA needs 4.5:1 for body text, so it fails and should be used for fills or borders rather than type.
Yes. You can write color: khaki directly in CSS, which every browser resolves to #F0E68C.