#F7EF8B

#f7ef8b ≈ Khaki

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

#f7ef8b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 96.86% red, 93.73% green and 54.51% blue; printed in CMYK it uses 0% cyan, 3.24% magenta, 43.72% yellow and 3.14% black. Its hue angle is 55.56°, with 87.1% 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.67:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.33.

Description generated from the measured properties of this color.

Conversions of #f7ef8b 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.8337

Readable text 1.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ebebeb ≈ 0.003% of males
Achromatomaly #f0edcc ≈ 0.001% of males
Protanopia #ffe883 ≈ 1.01% of males
Deuteranopia #ffee8f ≈ 1.27% of males
Tritanopia #ffe3d7 ≈ 0.0001% of males
Protanomaly #fceb86 ≈ 1.08% of males
Deuteranomaly #feee8e ≈ 4.63% of males
Tritanomaly #ffe8bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f7ef8b {
  color: #f7ef8b;
}
Background
.bg-f7ef8b {
  background-color: #f7ef8b;
  color: #000000;
}
Border
.border-f7ef8b {
  border: 2px solid #f7ef8b;
}
CSS variables
:root {
  --color-primary: #f7ef8b;
  --color-primary-rgb: 247 239 139;
  --color-primary-hsl: 56 87% 76%;
}
Gradient
.gradient-f7ef8b {
  background: linear-gradient(135deg, #f7ef8b, #c9f78b);
}
Colored shadow
.shadow-f7ef8b {
  box-shadow: 0 8px 24px rgb(247 239 139 / 0.35);
}

Khaki
#f7ef8b  rgb(247, 239, 139)  hsl(56, 87%, 76%)  Khaki
#8b93f7  rgb(139, 147, 247)  hsl(236, 87%, 76%)  Cornflower Blue
#8bf7ef  rgb(139, 247, 239)  hsl(176, 87%, 76%)  Electric Blue
#ef8bf7  rgb(239, 139, 247)  hsl(296, 87%, 76%)  Violet