#F0E68C

#F0E68C is the hex color Khaki. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #F0E68C; the exact match is Khaki.

Open #F0E68C in the picker

#F0E68C color codes

HEX
#F0E68C
HEX8
#F0E68CFF
HEX8 (Android)
#FFF0E68C
RGB
rgb(240, 230, 140)
RGB (%)
94%, 90%, 55%
HSL
hsl(54, 77%, 75%)
HSV / HSB
hsv(54, 42%, 94%)
CMYK
cmyk(0%, 4%, 42%, 6%)
OKLCH
oklch(0.9135 0.1119 102.83)
OKLCH (%)
oklch(91.35% 0.1119 102.83)
Decimal
15787660

What color is #F0E68C?

#F0E68C sits at 91% lightness and 0.1119 chroma in OKLCH, hue 102.83°. Its nearest named color is Khaki (an exact match).

Shades and tints of #F0E68C

Tints

Shades

Tones

#F0E68C color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #F0E68C in CSS

.text       { color: #F0E68C; }
.background { background-color: #F0E68C; }
.border     { border: 2px solid #F0E68C; }

/* Modern, perceptually uniform */
.text { color: oklch(0.9135 0.1119 102.83); }

/* #F0E68C at 50% transparency */
.overlay { background-color: #F0E68C80; }

Is #F0E68C accessible?

#F0E68C on white text scores 1.28:1; on black text it scores 16.40:1. Black text passes WCAG AAA on #F0E68C. Recommended text color on a #F0E68C background: black.

A 16.4:1 vs black
A 1.28:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: black

CSS contrast-color() contrast-color(#F0E68C) → black
APCA Lc experimental 89.7 Lc · body text (black text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Gold #FFD700. See more in the yellow family on the colors hub.

Frequently asked questions

What color is #F0E68C?
#F0E68C is Khaki. In RGB it is rgb(240, 230, 140), and in HSL hsl(54, 77%, 75%).
What is #F0E68C in RGB?
#F0E68C converts to rgb(240, 230, 140) — red 240, green 230, blue 140.
What text color is readable on #F0E68C?
Black text — it has the higher contrast ratio (16.40:1) against #F0E68C. Black text passes WCAG AAA on #F0E68C.
Open #F0E68C in the picker