#F7EC9E

#f7ec9e ≈ Khaki

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#f7ec9e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 96.86% red, 92.55% green and 61.96% blue; printed in CMYK it uses 0% cyan, 4.45% magenta, 36.03% yellow and 3.14% black. Its hue angle is 52.58°, with 84.76% saturation and 79.41% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and soft pastel palettes. Black text on this color reaches a contrast ratio of 17.45:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.53.

Description generated from the measured properties of this color.

Conversions of #f7ec9e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffff99
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.8223

Readable text 1.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #eaeaea ≈ 0.003% of males
Achromatomaly #efebd0 ≈ 0.001% of males
Protanopia #fae798 ≈ 1.01% of males
Deuteranopia #fdeca1 ≈ 1.27% of males
Tritanopia #ffe2d8 ≈ 0.0001% of males
Protanomaly #f9e99b ≈ 1.08% of males
Deuteranomaly #fbeca0 ≈ 4.63% of males
Tritanomaly #ffe6c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f7ec9e {
  color: #f7ec9e;
}
Background
.bg-f7ec9e {
  background-color: #f7ec9e;
  color: #000000;
}
Border
.border-f7ec9e {
  border: 2px solid #f7ec9e;
}
CSS variables
:root {
  --color-primary: #f7ec9e;
  --color-primary-rgb: 247 236 158;
  --color-primary-hsl: 53 85% 79%;
}
Gradient
.gradient-f7ec9e {
  background: linear-gradient(135deg, #f7ec9e, #d6f79e);
}
Colored shadow
.shadow-f7ec9e {
  box-shadow: 0 8px 24px rgb(247 236 158 / 0.35);
}

Khaki
#f7ec9e  rgb(247, 236, 158)  hsl(53, 85%, 79%)  Khaki
#9ea9f7  rgb(158, 169, 247)  hsl(233, 85%, 79%)  Wild Blue Yonder
#9ef7ec  rgb(158, 247, 236)  hsl(173, 85%, 79%)  Celeste
#ec9ef7  rgb(236, 158, 247)  hsl(293, 85%, 79%)  Plum