#F5EB8D

#f5eb8d ≈ Khaki

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

#f5eb8d 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 55.29% blue; printed in CMYK it uses 0% cyan, 4.08% magenta, 42.45% yellow and 3.92% black. Its hue angle is 54.23°, with 83.87% saturation and 75.69% 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.15:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.2.

Description generated from the measured properties of this color.

Conversions of #f5eb8d 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.8075

Readable text 1.22:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e8e8e8 ≈ 0.003% of males
Achromatomaly #ede9ca ≈ 0.001% of males
Protanopia #fae586 ≈ 1.01% of males
Deuteranopia #feeb91 ≈ 1.27% of males
Tritanopia #ffdfd4 ≈ 0.0001% of males
Protanomaly #f8e789 ≈ 1.08% of males
Deuteranomaly #faeb8f ≈ 4.63% of males
Tritanomaly #fde4bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f5eb8d {
  color: #f5eb8d;
}
Background
.bg-f5eb8d {
  background-color: #f5eb8d;
  color: #000000;
}
Border
.border-f5eb8d {
  border: 2px solid #f5eb8d;
}
CSS variables
:root {
  --color-primary: #f5eb8d;
  --color-primary-rgb: 245 235 141;
  --color-primary-hsl: 54 84% 76%;
}
Gradient
.gradient-f5eb8d {
  background: linear-gradient(135deg, #f5eb8d, #cbf58d);
}
Colored shadow
.shadow-f5eb8d {
  box-shadow: 0 8px 24px rgb(245 235 141 / 0.35);
}

Khaki
#f5eb8d  rgb(245, 235, 141)  hsl(54, 84%, 76%)  Khaki
#8d97f5  rgb(141, 151, 245)  hsl(234, 84%, 76%)  Cornflower Blue
#8df5eb  rgb(141, 245, 235)  hsl(174, 84%, 76%)  Electric Blue
#eb8df5  rgb(235, 141, 245)  hsl(294, 84%, 76%)  Violet