#F5E97F

#f5e97f ≈ Khaki

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

#f5e97f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 96.08% red, 91.37% green and 49.8% blue; printed in CMYK it uses 0% cyan, 4.9% magenta, 48.16% yellow and 3.92% black. Its hue angle is 53.9°, with 85.51% saturation and 72.94% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 16.84:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.47.

Description generated from the measured properties of this color.

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

Readable text 1.25:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e6e6e6 ≈ 0.003% of males
Achromatomaly #ece7c5 ≈ 0.001% of males
Protanopia #fae376 ≈ 1.01% of males
Deuteranopia #fee984 ≈ 1.27% of males
Tritanopia #ffdcd0 ≈ 0.0001% of males
Protanomaly #f8e57a ≈ 1.08% of males
Deuteranomaly #fae982 ≈ 4.63% of males
Tritanomaly #fee2b5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f5e97f {
  color: #f5e97f;
}
Background
.bg-f5e97f {
  background-color: #f5e97f;
  color: #000000;
}
Border
.border-f5e97f {
  border: 2px solid #f5e97f;
}
CSS variables
:root {
  --color-primary: #f5e97f;
  --color-primary-rgb: 245 233 127;
  --color-primary-hsl: 54 86% 73%;
}
Gradient
.gradient-f5e97f {
  background: linear-gradient(135deg, #f5e97f, #c6f57f);
}
Colored shadow
.shadow-f5e97f {
  box-shadow: 0 8px 24px rgb(245 233 127 / 0.35);
}

Khaki
#f5e97f  rgb(245, 233, 127)  hsl(54, 86%, 73%)  Khaki
#7f8bf5  rgb(127, 139, 245)  hsl(234, 86%, 73%)  Cornflower Blue
#7ff5e9  rgb(127, 245, 233)  hsl(174, 86%, 73%)  Turquoise Blue
#e97ff5  rgb(233, 127, 245)  hsl(294, 86%, 73%)  Violet