#F8EF97

#f8ef97 ≈ Khaki

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

#f8ef97 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.25% red, 93.73% green and 59.22% blue; printed in CMYK it uses 0% cyan, 3.63% magenta, 39.11% yellow and 2.75% black. Its hue angle is 54.43°, with 87.39% saturation and 78.24% 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.78:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.98.

Description generated from the measured properties of this color.

Conversions of #f8ef97 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.8392

Readable text 1.18:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ececec ≈ 0.003% of males
Achromatomaly #f1edcf ≈ 0.001% of males
Protanopia #fee990 ≈ 1.01% of males
Deuteranopia #ffee9b ≈ 1.27% of males
Tritanopia #ffe4d9 ≈ 0.0001% of males
Protanomaly #fbec93 ≈ 1.08% of males
Deuteranomaly #fdef99 ≈ 4.63% of males
Tritanomaly #ffe8c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f8ef97 {
  color: #f8ef97;
}
Background
.bg-f8ef97 {
  background-color: #f8ef97;
  color: #000000;
}
Border
.border-f8ef97 {
  border: 2px solid #f8ef97;
}
CSS variables
:root {
  --color-primary: #f8ef97;
  --color-primary-rgb: 248 239 151;
  --color-primary-hsl: 54 87% 78%;
}
Gradient
.gradient-f8ef97 {
  background: linear-gradient(135deg, #f8ef97, #d1f897);
}
Colored shadow
.shadow-f8ef97 {
  box-shadow: 0 8px 24px rgb(248 239 151 / 0.35);
}

Khaki
#f8ef97  rgb(248, 239, 151)  hsl(54, 87%, 78%)  Khaki
#97a0f8  rgb(151, 160, 248)  hsl(234, 87%, 78%)  Wild Blue Yonder
#97f8ef  rgb(151, 248, 239)  hsl(174, 87%, 78%)  Celeste
#ef97f8  rgb(239, 151, 248)  hsl(294, 87%, 78%)  Violet