#F8EC9F

#f8ec9f ≈ Khaki

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

#f8ec9f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.25% red, 92.55% green and 62.35% blue; printed in CMYK it uses 0% cyan, 4.84% magenta, 35.89% yellow and 2.75% black. Its hue angle is 51.91°, with 86.41% saturation and 79.8% 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.49:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.75.

Description generated from the measured properties of this color.

Conversions of #f8ec9f 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.8245

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

Achromatopsia #eaeaea ≈ 0.003% of males
Achromatomaly #f0ebd0 ≈ 0.001% of males
Protanopia #fae799 ≈ 1.01% of males
Deuteranopia #feeda2 ≈ 1.27% of males
Tritanopia #ffe2d8 ≈ 0.0001% of males
Protanomaly #f9e99c ≈ 1.08% of males
Deuteranomaly #fbeca1 ≈ 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-f8ec9f {
  color: #f8ec9f;
}
Background
.bg-f8ec9f {
  background-color: #f8ec9f;
  color: #000000;
}
Border
.border-f8ec9f {
  border: 2px solid #f8ec9f;
}
CSS variables
:root {
  --color-primary: #f8ec9f;
  --color-primary-rgb: 248 236 159;
  --color-primary-hsl: 52 86% 80%;
}
Gradient
.gradient-f8ec9f {
  background: linear-gradient(135deg, #f8ec9f, #d7f89f);
}
Colored shadow
.shadow-f8ec9f {
  box-shadow: 0 8px 24px rgb(248 236 159 / 0.35);
}

Khaki
#f8ec9f  rgb(248, 236, 159)  hsl(52, 86%, 80%)  Khaki
#9fabf8  rgb(159, 171, 248)  hsl(232, 86%, 80%)  Wild Blue Yonder
#9ff8ec  rgb(159, 248, 236)  hsl(172, 86%, 80%)  Celeste
#ec9ff8  rgb(236, 159, 248)  hsl(292, 86%, 80%)  Mauve