#ECEE98

#ecee98 ≈ Khaki

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

#ecee98 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 93.33% green and 59.61% blue; printed in CMYK it uses 0.84% cyan, 0% magenta, 36.13% yellow and 6.67% black. Its hue angle is 61.4°, with 71.67% saturation and 76.47% 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.25:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.57.

Description generated from the measured properties of this color.

Conversions of #ecee98 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.8125

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

Achromatopsia #e9e9e9 ≈ 0.003% of males
Achromatomaly #eaebcd ≈ 0.001% of males
Protanopia #fbe792 ≈ 1.01% of males
Deuteranopia #fcea9c ≈ 1.27% of males
Tritanopia #f7e4d9 ≈ 0.0001% of males
Protanomaly #f5ea94 ≈ 1.08% of males
Deuteranomaly #f6ec9a ≈ 4.63% of males
Tritanomaly #f3e8c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecee98 {
  color: #ecee98;
}
Background
.bg-ecee98 {
  background-color: #ecee98;
  color: #000000;
}
Border
.border-ecee98 {
  border: 2px solid #ecee98;
}
CSS variables
:root {
  --color-primary: #ecee98;
  --color-primary-rgb: 236 238 152;
  --color-primary-hsl: 61 72% 76%;
}
Gradient
.gradient-ecee98 {
  background: linear-gradient(135deg, #ecee98, #c1ee98);
}
Colored shadow
.shadow-ecee98 {
  box-shadow: 0 8px 24px rgb(236 238 152 / 0.35);
}

Khaki
#ecee98  rgb(236, 238, 152)  hsl(61, 72%, 76%)  Khaki
#9a98ee  rgb(154, 152, 238)  hsl(241, 72%, 76%)  Wild Blue Yonder
#98ecee  rgb(152, 236, 238)  hsl(181, 72%, 76%)  Pale Turquoise
#ee98ec  rgb(238, 152, 236)  hsl(301, 72%, 76%)  Plum