#FEF09A

#fef09a ≈ Khaki

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

#fef09a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 94.12% green and 60.39% blue; printed in CMYK it uses 0% cyan, 5.51% magenta, 39.37% yellow and 0.39% black. Its hue angle is 51.6°, with 98.04% saturation and 80% 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 18.14:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.68.

Description generated from the measured properties of this color.

Conversions of #fef09a 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.8572

Readable text 1.16:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #eeeeee ≈ 0.003% of males
Achromatomaly #f5efd2 ≈ 0.001% of males
Protanopia #ffeb94 ≈ 1.01% of males
Deuteranopia #fff19d ≈ 1.27% of males
Tritanopia #ffe5db ≈ 0.0001% of males
Protanomaly #ffed96 ≈ 1.08% of males
Deuteranomaly #fff19c ≈ 4.63% of males
Tritanomaly #ffe9c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fef09a {
  color: #fef09a;
}
Background
.bg-fef09a {
  background-color: #fef09a;
  color: #000000;
}
Border
.border-fef09a {
  border: 2px solid #fef09a;
}
CSS variables
:root {
  --color-primary: #fef09a;
  --color-primary-rgb: 254 240 154;
  --color-primary-hsl: 52 98% 80%;
}
Gradient
.gradient-fef09a {
  background: linear-gradient(135deg, #fef09a, #dafe9a);
}
Colored shadow
.shadow-fef09a {
  box-shadow: 0 8px 24px rgb(254 240 154 / 0.35);
}

Khaki
#fef09a  rgb(254, 240, 154)  hsl(52, 98%, 80%)  Khaki
#9aa8fe  rgb(154, 168, 254)  hsl(232, 98%, 80%)  Wild Blue Yonder
#9afef0  rgb(154, 254, 240)  hsl(172, 98%, 80%)  Celeste
#f09afe  rgb(240, 154, 254)  hsl(292, 98%, 80%)  Violet