#F5E97A

#f5e97a ≈ Khaki

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

#f5e97a 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 47.84% blue; printed in CMYK it uses 0% cyan, 4.9% magenta, 50.2% yellow and 3.92% black. Its hue angle is 54.15°, with 86.01% saturation and 71.96% 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.82:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.11.

Description generated from the measured properties of this color.

Conversions of #f5e97a 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.791

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

Achromatopsia #e6e6e6 ≈ 0.003% of males
Achromatomaly #ece7c4 ≈ 0.001% of males
Protanopia #fae370 ≈ 1.01% of males
Deuteranopia #fee97f ≈ 1.27% of males
Tritanopia #ffdccf ≈ 0.0001% of males
Protanomaly #f8e574 ≈ 1.08% of males
Deuteranomaly #fbe97d ≈ 4.63% of males
Tritanomaly #fee1b4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Khaki
#f5e97a  rgb(245, 233, 122)  hsl(54, 86%, 72%)  Khaki
#7a86f5  rgb(122, 134, 245)  hsl(234, 86%, 72%)  Cornflower Blue
#7af5e9  rgb(122, 245, 233)  hsl(174, 86%, 72%)  Turquoise Blue
#e97af5  rgb(233, 122, 245)  hsl(294, 86%, 72%)  Violet