#F9EC8D

#f9ec8d ≈ Khaki

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

#f9ec8d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.65% red, 92.55% green and 55.29% blue; printed in CMYK it uses 0% cyan, 5.22% magenta, 43.37% yellow and 2.35% black. Its hue angle is 52.78°, with 90% saturation and 76.47% 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.41:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.75.

Description generated from the measured properties of this color.

Conversions of #f9ec8d 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.8205

Readable text 1.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #eaeaea ≈ 0.003% of males
Achromatomaly #f0ebcb ≈ 0.001% of males
Protanopia #fce685 ≈ 1.01% of males
Deuteranopia #ffec91 ≈ 1.27% of males
Tritanopia #ffe0d5 ≈ 0.0001% of males
Protanomaly #fbe989 ≈ 1.08% of males
Deuteranomaly #fdec8f ≈ 4.63% of males
Tritanomaly #ffe5bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Khaki
#f9ec8d  rgb(249, 236, 141)  hsl(53, 90%, 76%)  Khaki
#8d9af9  rgb(141, 154, 249)  hsl(233, 90%, 76%)  Cornflower Blue
#8df9ec  rgb(141, 249, 236)  hsl(173, 90%, 76%)  Turquoise Blue
#ec8df9  rgb(236, 141, 249)  hsl(293, 90%, 76%)  Violet