#F2EB7E

#f2eb7e ≈ Khaki

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

#f2eb7e 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 49.41% blue; printed in CMYK it uses 0% cyan, 2.89% magenta, 47.93% yellow and 5.1% black. Its hue angle is 56.38°, with 81.69% saturation and 72.16% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 16.96:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.91.

Description generated from the measured properties of this color.

Conversions of #f2eb7e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffff66
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.798

Readable text 1.24:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e7e7e7 ≈ 0.003% of males
Achromatomaly #ebe9c6 ≈ 0.001% of males
Protanopia #fbe474 ≈ 1.01% of males
Deuteranopia #fee983 ≈ 1.27% of males
Tritanopia #ffdfd2 ≈ 0.0001% of males
Protanomaly #f8e778 ≈ 1.08% of males
Deuteranomaly #f9ea81 ≈ 4.63% of males
Tritanomaly #fbe4b6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Khaki
#f2eb7e  rgb(242, 235, 126)  hsl(56, 82%, 72%)  Khaki
#7e85f2  rgb(126, 133, 242)  hsl(236, 82%, 72%)  Cornflower Blue
#7ef2eb  rgb(126, 242, 235)  hsl(176, 82%, 72%)  Electric Blue
#eb7ef2  rgb(235, 126, 242)  hsl(296, 82%, 72%)  Violet