#F0E97C

#f0e97c ≈ Khaki

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

#f0e97c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 91.37% green and 48.63% blue; printed in CMYK it uses 0% cyan, 2.92% magenta, 48.33% yellow and 5.88% black. Its hue angle is 56.38°, with 79.45% saturation and 71.37% 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 brand accents. Black text on this color reaches a contrast ratio of 16.65:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.84.

Description generated from the measured properties of this color.

Conversions of #f0e97c 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.7826

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

Achromatopsia #e5e5e5 ≈ 0.003% of males
Achromatomaly #e9e7c4 ≈ 0.001% of males
Protanopia #f9e272 ≈ 1.01% of males
Deuteranopia #fce781 ≈ 1.27% of males
Tritanopia #feddd0 ≈ 0.0001% of males
Protanomaly #f6e576 ≈ 1.08% of males
Deuteranomaly #f7e87f ≈ 4.63% of males
Tritanomaly #f9e2b4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f0e97c {
  color: #f0e97c;
}
Background
.bg-f0e97c {
  background-color: #f0e97c;
  color: #000000;
}
Border
.border-f0e97c {
  border: 2px solid #f0e97c;
}
CSS variables
:root {
  --color-primary: #f0e97c;
  --color-primary-rgb: 240 233 124;
  --color-primary-hsl: 56 79% 71%;
}
Gradient
.gradient-f0e97c {
  background: linear-gradient(135deg, #f0e97c, #bdf07c);
}
Colored shadow
.shadow-f0e97c {
  box-shadow: 0 8px 24px rgb(240 233 124 / 0.35);
}

Khaki
#f0e97c  rgb(240, 233, 124)  hsl(56, 79%, 71%)  Khaki
#7c83f0  rgb(124, 131, 240)  hsl(236, 79%, 71%)  Medium Slate Blue
#7cf0e9  rgb(124, 240, 233)  hsl(176, 79%, 71%)  Electric Blue
#e97cf0  rgb(233, 124, 240)  hsl(296, 79%, 71%)  Violet