Skip to main content

#F7E38B Khaki

#F7E38B is Khaki.

#F7E38B

Khaki

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

HEX
#F7E38B
RGB
rgb(247, 227, 139)
HSL
hsl(49, 87%, 76%)
OKLCH
oklch(91.3% 0.111 97)
CMYK
0, 8, 44, 3

#F7E38B has a contrast ratio of 1.29:1 against white and 16.32:1 against black, so black is the better background for text in this color and dark text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #F7E38B
#F7E38B
Same color
White
1.3Fail
Near-black
13.6AAA

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • Near-black on #F7E38B · 13.6:1

Tints and shades of #F7E38B

Same hue and chroma in OKLCH, lighter to darker.

  1. #FFF6CD
  2. #F7E38B
  3. #CBB75F
  4. #AC9940
  5. #8F7B1D
  6. #705F00
  7. #524500
  8. #362C00
  9. #1B1600

Colors that go with #F7E38B

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Khaki, #F7E38B and Pale Mint, #D0FBC6 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --khaki-1: #F7E38B; /* Khaki */
}

Palettes, gradients and meshes with #F7E38B

Items using this color or one perceptually close to it, closest first.

Palettes (22)

Gradients (8)

Mesh gradients (16)