#F2EB8F

#f2eb8f ≈ Khaki

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

#f2eb8f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 92.16% green and 56.08% blue; printed in CMYK it uses 0% cyan, 2.89% magenta, 40.91% yellow and 5.1% black. Its hue angle is 55.76°, with 79.2% saturation and 75.49% 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.06:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.27.

Description generated from the measured properties of this color.

Conversions of #f2eb8f 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.8028

Readable text 1.23:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e7e7e7 ≈ 0.003% of males
Achromatomaly #ece9ca ≈ 0.001% of males
Protanopia #fae588 ≈ 1.01% of males
Deuteranopia #fdea93 ≈ 1.27% of males
Tritanopia #ffe0d5 ≈ 0.0001% of males
Protanomaly #f7e78b ≈ 1.08% of males
Deuteranomaly #f8ea91 ≈ 4.63% of males
Tritanomaly #fae4bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2eb8f {
  color: #f2eb8f;
}
Background
.bg-f2eb8f {
  background-color: #f2eb8f;
  color: #000000;
}
Border
.border-f2eb8f {
  border: 2px solid #f2eb8f;
}
CSS variables
:root {
  --color-primary: #f2eb8f;
  --color-primary-rgb: 242 235 143;
  --color-primary-hsl: 56 79% 75%;
}
Gradient
.gradient-f2eb8f {
  background: linear-gradient(135deg, #f2eb8f, #c7f28f);
}
Colored shadow
.shadow-f2eb8f {
  box-shadow: 0 8px 24px rgb(242 235 143 / 0.35);
}

Khaki
#f2eb8f  rgb(242, 235, 143)  hsl(56, 79%, 75%)  Khaki
#8f96f2  rgb(143, 150, 242)  hsl(236, 79%, 75%)  Cornflower Blue
#8ff2eb  rgb(143, 242, 235)  hsl(176, 79%, 75%)  Electric Blue
#eb8ff2  rgb(235, 143, 242)  hsl(296, 79%, 75%)  Violet