#F8EFA2

#f8efa2 ≈ Khaki

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

#f8efa2 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.25% red, 93.73% green and 63.53% blue; printed in CMYK it uses 0% cyan, 3.63% magenta, 34.68% yellow and 2.75% black. Its hue angle is 53.72°, with 86% saturation and 80.39% 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.86:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.05.

Description generated from the measured properties of this color.

Conversions of #f8efa2 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.843

Readable text 1.18:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ededed ≈ 0.003% of males
Achromatomaly #f1eed3 ≈ 0.001% of males
Protanopia #fcea9d ≈ 1.01% of males
Deuteranopia #ffefa5 ≈ 1.27% of males
Tritanopia #ffe5db ≈ 0.0001% of males
Protanomaly #fbec9f ≈ 1.08% of males
Deuteranomaly #fdefa4 ≈ 4.63% of males
Tritanomaly #ffe9c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f8efa2 {
  color: #f8efa2;
}
Background
.bg-f8efa2 {
  background-color: #f8efa2;
  color: #000000;
}
Border
.border-f8efa2 {
  border: 2px solid #f8efa2;
}
CSS variables
:root {
  --color-primary: #f8efa2;
  --color-primary-rgb: 248 239 162;
  --color-primary-hsl: 54 86% 80%;
}
Gradient
.gradient-f8efa2 {
  background: linear-gradient(135deg, #f8efa2, #d6f8a2);
}
Colored shadow
.shadow-f8efa2 {
  box-shadow: 0 8px 24px rgb(248 239 162 / 0.35);
}

Khaki
#f8efa2  rgb(248, 239, 162)  hsl(54, 86%, 80%)  Khaki
#a2abf8  rgb(162, 171, 248)  hsl(234, 86%, 80%)  Wild Blue Yonder
#a2f8ef  rgb(162, 248, 239)  hsl(174, 86%, 80%)  Celeste
#efa2f8  rgb(239, 162, 248)  hsl(294, 86%, 80%)  Plum