#F9EA8A

#f9ea8a ≈ Khaki

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

#f9ea8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.65% red, 91.76% green and 54.12% blue; printed in CMYK it uses 0% cyan, 6.02% magenta, 44.58% yellow and 2.35% black. Its hue angle is 51.89°, with 90.24% saturation and 75.88% 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.16:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.9.

Description generated from the measured properties of this color.

Conversions of #f9ea8a 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.8082

Readable text 1.22:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e8e8e8 ≈ 0.003% of males
Achromatomaly #efe9c9 ≈ 0.001% of males
Protanopia #fae582 ≈ 1.01% of males
Deuteranopia #ffeb8e ≈ 1.27% of males
Tritanopia #ffded3 ≈ 0.0001% of males
Protanomaly #fae785 ≈ 1.08% of males
Deuteranomaly #fceb8c ≈ 4.63% of males
Tritanomaly #ffe3ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f9ea8a {
  color: #f9ea8a;
}
Background
.bg-f9ea8a {
  background-color: #f9ea8a;
  color: #000000;
}
Border
.border-f9ea8a {
  border: 2px solid #f9ea8a;
}
CSS variables
:root {
  --color-primary: #f9ea8a;
  --color-primary-rgb: 249 234 138;
  --color-primary-hsl: 52 90% 76%;
}
Gradient
.gradient-f9ea8a {
  background: linear-gradient(135deg, #f9ea8a, #d0f98a);
}
Colored shadow
.shadow-f9ea8a {
  box-shadow: 0 8px 24px rgb(249 234 138 / 0.35);
}

Khaki
#f9ea8a  rgb(249, 234, 138)  hsl(52, 90%, 76%)  Khaki
#8a99f9  rgb(138, 153, 249)  hsl(232, 90%, 76%)  Cornflower Blue
#8af9ea  rgb(138, 249, 234)  hsl(172, 90%, 76%)  Turquoise Blue
#ea8af9  rgb(234, 138, 249)  hsl(292, 90%, 76%)  Violet