#F5EB7E

#f5eb7e ≈ Khaki

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

#f5eb7e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 96.08% red, 92.16% green and 49.41% blue; printed in CMYK it uses 0% cyan, 4.08% magenta, 48.57% yellow and 3.92% black. Its hue angle is 54.96°, with 85.61% saturation and 72.75% 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 17.07:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.88.

Description generated from the measured properties of this color.

Conversions of #f5eb7e 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.8034

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

Achromatopsia #e8e8e8 ≈ 0.003% of males
Achromatomaly #ede9c6 ≈ 0.001% of males
Protanopia #fce474 ≈ 1.01% of males
Deuteranopia #ffea83 ≈ 1.27% of males
Tritanopia #ffded2 ≈ 0.0001% of males
Protanomaly #f9e778 ≈ 1.08% of males
Deuteranomaly #fbeb81 ≈ 4.63% of males
Tritanomaly #fee3b6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f5eb7e {
  color: #f5eb7e;
}
Background
.bg-f5eb7e {
  background-color: #f5eb7e;
  color: #000000;
}
Border
.border-f5eb7e {
  border: 2px solid #f5eb7e;
}
CSS variables
:root {
  --color-primary: #f5eb7e;
  --color-primary-rgb: 245 235 126;
  --color-primary-hsl: 55 86% 73%;
}
Gradient
.gradient-f5eb7e {
  background: linear-gradient(135deg, #f5eb7e, #c4f57e);
}
Colored shadow
.shadow-f5eb7e {
  box-shadow: 0 8px 24px rgb(245 235 126 / 0.35);
}

Khaki
#f5eb7e  rgb(245, 235, 126)  hsl(55, 86%, 73%)  Khaki
#7e88f5  rgb(126, 136, 245)  hsl(235, 86%, 73%)  Cornflower Blue
#7ef5eb  rgb(126, 245, 235)  hsl(175, 86%, 73%)  Turquoise Blue
#eb7ef5  rgb(235, 126, 245)  hsl(295, 86%, 73%)  Violet