#F7EC98

#f7ec98 ≈ Khaki

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

#f7ec98 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 96.86% red, 92.55% green and 59.61% blue; printed in CMYK it uses 0% cyan, 4.45% magenta, 38.46% yellow and 3.14% black. Its hue angle is 53.05°, with 85.59% saturation and 78.24% 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.41:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.75.

Description generated from the measured properties of this color.

Conversions of #f7ec98 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.8203

Readable text 1.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #eaeaea ≈ 0.003% of males
Achromatomaly #efebce ≈ 0.001% of males
Protanopia #fae792 ≈ 1.01% of males
Deuteranopia #feec9b ≈ 1.27% of males
Tritanopia #ffe1d7 ≈ 0.0001% of males
Protanomaly #f9e994 ≈ 1.08% of males
Deuteranomaly #fbec9a ≈ 4.63% of males
Tritanomaly #ffe6c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f7ec98 {
  color: #f7ec98;
}
Background
.bg-f7ec98 {
  background-color: #f7ec98;
  color: #000000;
}
Border
.border-f7ec98 {
  border: 2px solid #f7ec98;
}
CSS variables
:root {
  --color-primary: #f7ec98;
  --color-primary-rgb: 247 236 152;
  --color-primary-hsl: 53 86% 78%;
}
Gradient
.gradient-f7ec98 {
  background: linear-gradient(135deg, #f7ec98, #d3f798);
}
Colored shadow
.shadow-f7ec98 {
  box-shadow: 0 8px 24px rgb(247 236 152 / 0.35);
}

Khaki
#f7ec98  rgb(247, 236, 152)  hsl(53, 86%, 78%)  Khaki
#98a3f7  rgb(152, 163, 247)  hsl(233, 86%, 78%)  Wild Blue Yonder
#98f7ec  rgb(152, 247, 236)  hsl(173, 86%, 78%)  Celeste
#ec98f7  rgb(236, 152, 247)  hsl(293, 86%, 78%)  Violet