#F2E97D

#f2e97d ≈ Khaki

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

#f2e97d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 91.37% green and 49.02% blue; printed in CMYK it uses 0% cyan, 3.72% magenta, 48.35% yellow and 5.1% black. Its hue angle is 55.38°, with 81.82% 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.73:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.65.

Description generated from the measured properties of this color.

Conversions of #f2e97d 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.7864

Readable text 1.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e5e5e5 ≈ 0.003% of males
Achromatomaly #ebe7c4 ≈ 0.001% of males
Protanopia #f9e274 ≈ 1.01% of males
Deuteranopia #fde882 ≈ 1.27% of males
Tritanopia #ffdcd0 ≈ 0.0001% of males
Protanomaly #f6e577 ≈ 1.08% of males
Deuteranomaly #f9e880 ≈ 4.63% of males
Tritanomaly #fbe2b5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2e97d {
  color: #f2e97d;
}
Background
.bg-f2e97d {
  background-color: #f2e97d;
  color: #000000;
}
Border
.border-f2e97d {
  border: 2px solid #f2e97d;
}
CSS variables
:root {
  --color-primary: #f2e97d;
  --color-primary-rgb: 242 233 125;
  --color-primary-hsl: 55 82% 72%;
}
Gradient
.gradient-f2e97d {
  background: linear-gradient(135deg, #f2e97d, #c1f27d);
}
Colored shadow
.shadow-f2e97d {
  box-shadow: 0 8px 24px rgb(242 233 125 / 0.35);
}

Khaki
#f2e97d  rgb(242, 233, 125)  hsl(55, 82%, 72%)  Khaki
#7d86f2  rgb(125, 134, 242)  hsl(235, 82%, 72%)  Cornflower Blue
#7df2e9  rgb(125, 242, 233)  hsl(175, 82%, 72%)  Electric Blue
#e97df2  rgb(233, 125, 242)  hsl(295, 82%, 72%)  Violet