#ECEA8D

#ecea8d ≈ Khaki

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

#ecea8d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 91.76% green and 55.29% blue; printed in CMYK it uses 0% cyan, 0.85% magenta, 40.25% yellow and 7.45% black. Its hue angle is 58.74°, with 71.43% saturation and 73.92% 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 brand accents. Black text on this color reaches a contrast ratio of 16.72:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.21.

Description generated from the measured properties of this color.

Conversions of #ecea8d 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.786

Readable text 1.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e5e5e5 ≈ 0.003% of males
Achromatomaly #e8e7c8 ≈ 0.001% of males
Protanopia #f8e386 ≈ 1.01% of males
Deuteranopia #fae791 ≈ 1.27% of males
Tritanopia #f8dfd3 ≈ 0.0001% of males
Protanomaly #f3e689 ≈ 1.08% of males
Deuteranomaly #f4e88f ≈ 4.63% of males
Tritanomaly #f4e4bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecea8d {
  color: #ecea8d;
}
Background
.bg-ecea8d {
  background-color: #ecea8d;
  color: #000000;
}
Border
.border-ecea8d {
  border: 2px solid #ecea8d;
}
CSS variables
:root {
  --color-primary: #ecea8d;
  --color-primary-rgb: 236 234 141;
  --color-primary-hsl: 59 71% 74%;
}
Gradient
.gradient-ecea8d {
  background: linear-gradient(135deg, #ecea8d, #beec8d);
}
Colored shadow
.shadow-ecea8d {
  box-shadow: 0 8px 24px rgb(236 234 141 / 0.35);
}

Khaki
#ecea8d  rgb(236, 234, 141)  hsl(59, 71%, 74%)  Khaki
#8d8fec  rgb(141, 143, 236)  hsl(239, 71%, 74%)  Cornflower Blue
#8decea  rgb(141, 236, 234)  hsl(179, 71%, 74%)  Electric Blue
#ea8dec  rgb(234, 141, 236)  hsl(299, 71%, 74%)  Violet